ss002d6252
New Member
- Joined
- Mar 5, 2010
- Messages
- 23
I have code which quite happily opens an email and sets the recipient and subject but it won't set the body .
Any one have ideas where I'm going wrong ?
Any one have ideas where I'm going wrong ?
Code:
Dim emaddr As String
Dim subj As String
emaddr = "Council.Tax@Sunderland.gov.uk"
subj = "Council Tax Enquiry"
'compose default parts of the message
hlink = "mailto:" & emaddr & "?"
hlink = hlink & "subject=" & subj
hlink = hlink & "&body =" & "This is a test"
'open email
ActiveWorkbook.FollowHyperlink hlink