Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
How can I find the data-source of mail merge document?
I have a folder containing over a hundred MS Word mailmerge documents.
The data for each document apears to be a different Access Database Query. I'd like to know If I can identify the qury record source from the Word Document? |
#2
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
How can I find the data-source of mail merge document?
The VBA command
ActiveDocument.MailMerge.DataSource.Name returns the name of the data source that is attached to a mail merge main document. It would be possible to write a macro that went through all of the documents in a folder and inserted the name of the document and of its attached data source into a table in a new document. The procedure would be a modification of the code in the article "Find & ReplaceAll on a batch of documents in the same folder" at: http://www.word.mvps.org/FAQs/MacrosVBA/BatchFR.htm -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP "Phillip" wrote in message ... I have a folder containing over a hundred MS Word mailmerge documents. The data for each document apears to be a different Access Database Query. I'd like to know If I can identify the qury record source from the Word Document? |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Error in Mail Merge with MS Access - can't find data source | Mailmerge | |||
How can I find out what data source was used in a merge document? | Mailmerge | |||
Mail Merge can't find data source in Office XP...but it could in 2000! | Mailmerge | |||
Word 2002 cannot find its Excel data source for mail merge | Mailmerge | |||
Mail Merge Error - can't find data source | Mailmerge |