Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Mailmerge and Fax / February 2005

Tip: Looking for answers? Try searching our database.

OutlookEXPRESS and VBA

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
BradC - 25 Feb 2005 18:10 GMT
where can i get code or how do I use VBA to open Outlook
Express and merge a word document into a new email and
send it?
Doug Robbins - 25 Feb 2005 23:47 GMT
AFAIK, you cannot automate Outlook Express.

Check out Mailmerge in the Visual Basic Help File.  This is the example on
how to automate the mailmerge operation to email

This example merges the document named "FormLetter.doc" with its attached
data document and sends the results to the e-mail addresses stored in the
Email merge field.

With Documents("FormLetter.doc").MailMerge
   .MailAddressFieldName = "Email"
   .MailSubject = "Amazing offer"
   .Destination = wdSendToEmail
   .Execute
End With

Signature

Please respond to the Newsgroup for the benefit of others who may be
interested.   Questions sent directly to me will only be answered on a paid
consulting basis.

Hope this helps,
Doug Robbins - Word MVP

> where can i get code or how do I use VBA to open Outlook
> Express and merge a word document into a new email and
> send it?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.