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 / May 2006

Tip: Looking for answers? Try searching our database.

Automating Word 2000 e-mails

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Richard Webster - 03 May 2006 09:05 GMT
Hi, I'm new to this forum.

I understand some Access VBA and have used it to manipulate and create Word
Docs and insert variables derived from my Access 2000 database at bookmarks
in a Word Doc.

I wanted to use this same kind of method as :

oDoc.Bookmarks(sBkMk).Select
oApp.Selection.Text = sText

to insert an e-mail address in the address line and a subject in the subject
line that you get when you have an open Word Doc and you click the e-mail
icon on the toolbar.

I tried recording a macro running through the keystrokes because I usually
have found that doing this then gives you the VBA code that you can adapt for
your own use. All I got was:

ActiveWindow.EnvelopeVisible = Not ActiveWindow.EnvelopeVisible

which meant nothing at all to me. I expected to see the e-mail address and
the text that I had put in for the subject matter somewhere in the VBA code
and I could then substitute a couple of string variables containing that
information - no such luck!

Does anyone know how to do this?
Signature

Richard Webster

Peter Jamieson - 03 May 2006 11:03 GMT
I'd have a look at

http://word.mvps.org/FAQs/InterDev/SendMail.htm

Peter Jamieson

> Hi, I'm new to this forum.
>
[quoted text clipped - 28 lines]
>
> Does anyone know how to do this?
Richard Webster - 03 May 2006 18:40 GMT
Thanks, that's given me something to work on.   The RoutingSlip object didn't
come up at all when I searched help in Word VBA for e-mail!
Signature

Richard Webster

> I'd have a look at
>
[quoted text clipped - 34 lines]
> >
> > Does anyone know how to do this?

Rate this thread:






 
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.