Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Send Email through Word 2003 in VS 2005

Status
Not open for further replies.

Sprowler

IS-IT--Management
Sep 30, 2002
102
0
0
GB
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)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top