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 / Menus and Toolbars / September 2004

Tip: Looking for answers? Try searching our database.

using autotext info for a mail merge

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
chuck - 25 Sep 2004 19:29 GMT
I have many addresses in my autotext file. How do I get
the addresses from autotext into Excel for a mail merge?

WIN XP pro, Gateway boxes, Word 2000 Excel 2000
Doug Robbins - 25 Sep 2004 21:18 GMT
The following macro will insert all of the autotext entries into the active
document, one to a paragraph.  There will probably some that you don't need
that you will have to delete, but then you can convert that document to a
table and add a row at the top to contain a fieldname for use in mailmerge,
or copy and paste it into Excel if you want to do it that way.

Dim at As AutoTextEntry
For Each at In NormalTemplate.AutoTextEntries
   ActiveDocument.Range.InsertAfter at & vbCr
Next at

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

>I have many addresses in my autotext file. How do I get
> the addresses from autotext into Excel for a mail merge?
>
> WIN XP pro, Gateway boxes, Word 2000 Excel 2000
chuck - 26 Sep 2004 17:41 GMT
Thanks Doug,

This looks like a solution for my problem. I tried it on
my home computer and it did download all of my autotext
into a word doc. A little more manipulation and I'll have
a mail merge.

Chuck

>-----Original Message-----
>The following macro will insert all of the autotext entries into the active
[quoted text clipped - 14 lines]
>
>.
 
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.