Mail Merge Data Base File Name

P

Pact

Im currently setting up a mail merge in word 2003, i would like to be able to
show the name of the excel database which the word doc is linked to, is this
possible? any help would be great.

PACT
 
D

Doug Robbins - Word MVP

Where do you want to show it?

The VBA command

ActiveDocument.MailMerge.DataSource.Name

will return the name of the data source attached to a mail merge main
document.

--
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top