Hyperlink (1 Viewer)

gdanalakshmi

Registered User.
Local time
Today, 16:26
Joined
Nov 26, 2002
Messages
102
I am trying to send an email from Access application using VBA.

I want to send a hyperlink in the body of the email. The Email goes through Lotus Notes.

How Do i implement that?? Is there any special tag for that??
 

IMO

Now Known as ___
Local time
Today, 16:26
Joined
Sep 11, 2002
Messages
723
Create a text box and a button on a form, call the text box txtEmailAddress and add the following code to the onclick event of the button

Private Sub YourButton_Click()

Dim strTextMessage As String
strTextMessage = strTextMessage & "http://www.access-programmers.co.uk "
DoCmd.SendObject acSendNoObject, , , Me!txtEmailAddress, , , "Hyperlink", strTextMessage, True

End Sub

Type the email address in the text box and click the button

IMO
 

Users who are viewing this thread

Top Bottom