I want to be able to open up outlook with an attached file. So far my code does all of this successfully:
Dim objOutlook As New Outlook.Application
Dim objOutlookmsg As Outlook.MailItem
Set objOutlookmsg = objOutlook.CreateItem(olMailItem)
objOutlookmsg.Attachments.Add sPath
objOutlookmsg.Subject = "Hello there"
objOutlookmsg.Display
Set objOutlook = Nothing
However along with the attachment, and the subject matter, i want to also include a standard message just above the attachment.
I reckon its only one line of code, but How is this done?
Thanks in advance,
Agent009
Dim objOutlook As New Outlook.Application
Dim objOutlookmsg As Outlook.MailItem
Set objOutlookmsg = objOutlook.CreateItem(olMailItem)
objOutlookmsg.Attachments.Add sPath
objOutlookmsg.Subject = "Hello there"
objOutlookmsg.Display
Set objOutlook = Nothing
However along with the attachment, and the subject matter, i want to also include a standard message just above the attachment.
I reckon its only one line of code, but How is this done?
Thanks in advance,
Agent009