Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Create bookmark within email message VBA

Status
Not open for further replies.

JimLes

IS-IT--Management
Feb 27, 2006
119
US
I have a database that creates an email message and I would like to put a hyperlink in the beginning of the message like this:

bodytext = bodytext & "<a href='English'>English</a>" & "<br>"


and then link to a location within the email body. I cannot find the code to create a bookmark or location within an email message through VBA. I need the named location to be "English".

Any help is greatly appreciated.

Thanks!
 
Solved it my self:

bodytext = bodytext & "<a href='#English'>English</a>" Hyperlinks to the bookmark in the email message

bodytext = bodytext & "<a name='English'>English</a>" Creates the bookmark in the email message
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top