Reply
 
Thread Tools Display Modes
  #1   Report Post  
BradC
 
Posts: n/a
Default OutlookEXPRESS and VBA

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?
  #2   Report Post  
Doug Robbins
 
Posts: n/a
Default

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


--
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
"BradC" wrote in message
...
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?



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:24 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"