callumwatson
Registered User.
- Local time
- Today, 08:13
- Joined
- Jun 22, 2001
- Messages
- 22
I have written code for a command button which I want to use to compose an e-mail using an address from my form. The composer opens OK but I can't get the address to automatically appear in the message.
My code is a s follows: -
Private Sub E_mail_Click()
If Me.Dirty Then DoCmd.RunCommand acCmdSaveRecord
Command46.HyperlinkAddress = "mailto:" & Me![E-mail address]
ExitHere:
Exit Sub
I have tried to copy code from the sample CONTACT database that Office provides. Obviously have done this unsuccessfully. I would really appreciate any help that anyone could offer.
My code is a s follows: -
Private Sub E_mail_Click()
If Me.Dirty Then DoCmd.RunCommand acCmdSaveRecord
Command46.HyperlinkAddress = "mailto:" & Me![E-mail address]
ExitHere:
Exit Sub
I have tried to copy code from the sample CONTACT database that Office provides. Obviously have done this unsuccessfully. I would really appreciate any help that anyone could offer.