Afternoon all, I am despritly trying to send an email in word 2003 from VS 2005.
I have done everything else I wish to, i.e. get the content out of my application into the word document using bookmarks (please see code below) but the emailing is causing a right problem.
What I want to do programmitally is, File > sent to > Email Receipiant, and then add a email address TO!
The code below is how I am loading this particular document ready to email:
wrdApp = CreateObject("Word.Application")
wrdApp.Visible = True
If Filename = "Thank You" Then
wrdDoc = wrdApp.Documents.Open(Application.StartupPath & "\ThankYou.doc", , True)
I have done everything else I wish to, i.e. get the content out of my application into the word document using bookmarks (please see code below) but the emailing is causing a right problem.
What I want to do programmitally is, File > sent to > Email Receipiant, and then add a email address TO!
The code below is how I am loading this particular document ready to email:
wrdApp = CreateObject("Word.Application")
wrdApp.Visible = True
If Filename = "Thank You" Then
wrdDoc = wrdApp.Documents.Open(Application.StartupPath & "\ThankYou.doc", , True)