Hi guys,
This sounded so simple when I thought about doing it, but I cannot find the answer anywhere.
I have a macro in an excel 2007 workbook, i have a macro which takes data from various worksheets within the workbook and contructs emails (outlook 2007) automatically. Everything works great except:-
at the bottom of my message body, i want to add a hyperlink to our website, but it appears on the email as plain text, not a hyperlink. Outlook is set up to send emails as HTML.
The body of the email is constructed using srting variables so the macro code for the email body loos something like this,
dim strBody as string, strWeb as hyperlink
strWeb = "www.mywebsite.com"
strBody = "blah blah blah" & "<br>" & "Regards," & "<br>" & strWeb
Anybody have any idea, how i should format the hyperlink so it shows up on the email as a usable active hyperlink?
Any help much appreciated.
Lee.
This sounded so simple when I thought about doing it, but I cannot find the answer anywhere.
I have a macro in an excel 2007 workbook, i have a macro which takes data from various worksheets within the workbook and contructs emails (outlook 2007) automatically. Everything works great except:-
at the bottom of my message body, i want to add a hyperlink to our website, but it appears on the email as plain text, not a hyperlink. Outlook is set up to send emails as HTML.
The body of the email is constructed using srting variables so the macro code for the email body loos something like this,
dim strBody as string, strWeb as hyperlink
strWeb = "www.mywebsite.com"
strBody = "blah blah blah" & "<br>" & "Regards," & "<br>" & strWeb
Anybody have any idea, how i should format the hyperlink so it shows up on the email as a usable active hyperlink?
Any help much appreciated.
Lee.