View Single Post
  #3  
Old June 28th 07, 01:24 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default How to display text of a hyperlink in an email body?

And set the value of HTMLBody not Body.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"TJ" wrote in message ...
try
Body = "This is test " & "a href=" & Chr(34) & "http://www.test.com/" &
Chr(34) & "Click here/a"

"salad" wrote in message
nk.net...
I would like to put
Click Here
where a person could click on that phrase and it would open the link to
http://www.test.com

.Body = "This is test " & "href=" & Chr(34) & "http://www.test.com/" &
Chr(34) & "Click here"

does not work. Is there a way I can insert the link and the display text
in the email body?



Ads