vangogh228
Registered User.
- Local time
- Today, 06:57
- Joined
- Apr 19, 2002
- Messages
- 302
I have successfully used the following code on the On Click event to open an email to the address shown in the subform's PrincipalEmail control:
Private Sub PrincipalEmail_Click()
Application.FollowHyperlink "mailto:" & Me.PrincipalEmail
End Sub
But, I would like to capture a subject line from the ProjectName control in my main form. I have not used this technique for emailing before and don't know how to:
1) Populate the subject line.
2) Grab the data from the control on the main form.
Searches have been very fruitful in many ways... but I have not found the answer to this exact question. I may be missing an obvious answer, but any help is greatly appreciated. THANKS.
Tom
Private Sub PrincipalEmail_Click()
Application.FollowHyperlink "mailto:" & Me.PrincipalEmail
End Sub
But, I would like to capture a subject line from the ProjectName control in my main form. I have not used this technique for emailing before and don't know how to:
1) Populate the subject line.
2) Grab the data from the control on the main form.
Searches have been very fruitful in many ways... but I have not found the answer to this exact question. I may be missing an obvious answer, but any help is greatly appreciated. THANKS.
Tom