View Single Post
 
Old 05-13-2024, 10:53 PM
Atishay Atishay is offline Windows 11 Office 2021
Novice
 
Join Date: May 2024
Posts: 2
Atishay is on a distinguished road
Default What about Outlook?

Quote:
Originally Posted by NoSparks View Post
You can't get around the 255 character limit of the hyperlink,
but you can change your approach and use the Worksheet_Followhyperlink event to call a macro that will shell out to Thunderbird.

I put some email addresses on rows 10 to 30 and copied your existing other stuff.
Ran the AddHyperlink sub to put in the hyperlinks.
Use the Worksheet_Followhyperlink event to get the row for the info and to call the SendEmail macro.

Code to shell to Thunderbird found here:
How can I automatically send email from Thunderbird with Excel VBA? - Stack Overflow

Hyperlink to run macro found here:
Link Hyperlink to Excel Macro — Excel Dashboards VBA and more

Doc to add hyperlink using code found here:
Hyperlinks.Add method (Excel) | Microsoft Docs

Hope this helps.


Hey NoSparks, I have the same issue of 255 characters in Hyperlink formula with mailto. The difference is that I need to use it in Outlook. So can you tell me how I can find a similar workaround?
I do have a basic understanding of the VBA too
Reply With Quote