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 / April 2007

Tip: Looking for answers? Try searching our database.

How can I find out what data source was used in a merge document?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Penelope - 25 Apr 2007 21:16 GMT
How can I find the data source that was used in a mail merge document?
Peter Jamieson - 25 Apr 2007 23:09 GMT
If you can't open the document and it's a .doc, I don't know a way. If it's
a .docx, .docm, .htm or .rtf let us know.

If you can open the document, there are a couple of possibilities, e.g. if
you have Word 2003,

Word|Help|About|System Info...|
then wait....
then
Office 2003 Applicaitons|Microsoft Office Word 2003|Mail Merge

or start the Word VBA editor, and type the following three lines in the
Immediate Window (use ctrl-G to display it if necessary):

print activedocument.mailmerge.datasource.name
print activedocument.mailmerge.datasource.connectstring
print activedocument.mailmerge.datasource.querystring

Peter Jamieson

> How can I find the data source that was used in a mail merge document?
 
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.