A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Mailmerge
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Locating Mail Merge Data Source



 
 
Thread Tools Display Modes
  #1  
Old March 5th, 2010, 06:20 PM posted to microsoft.public.word.mailmerge.fields
Just George
external usenet poster
 
Posts: 2
Default Locating Mail Merge Data Source

If I've forgotten what the name of my data source is, how can I determine it
after opening the Main Document?
I cannot remember what the source file is called so I cannot locate it to
edit it. Isn't there a way to find out the name of the source file from
within the main document?
  #2  
Old March 5th, 2010, 09:03 PM posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP
external usenet poster
 
Posts: 8,239
Default Locating Mail Merge Data Source

With the main document open, run a macro containing the following code:

MsgBox ActiveDocument.MailMerge.DataSource.Name


--
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, originally posted via msnews.microsoft.com

"Just George" Just wrote in message
...
If I've forgotten what the name of my data source is, how can I determine
it
after opening the Main Document?
I cannot remember what the source file is called so I cannot locate it to
edit it. Isn't there a way to find out the name of the source file from
within the main document?


  #3  
Old March 5th, 2010, 09:04 PM posted to microsoft.public.word.mailmerge.fields
Peter Jamieson
external usenet poster
 
Posts: 4,550
Default Locating Mail Merge Data Source

If it is a .doc and you only have one such document and could email it
to me (despam my address by removing killmaps from
) then I can try to find out for you.

If it's a .rtf or .xml (unlikely!) you can use a text editor to find out

If it's a .docx/.docm, rename it to a .zip, then extract the
document.xml file and look at it in a text editor.

Peter Jamieson

http://tips.pjmsn.me.uk

On 05/03/2010 18:20, Just George wrote:
If I've forgotten what the name of my data source is, how can I determine it
after opening the Main Document?
I cannot remember what the source file is called so I cannot locate it to
edit it. Isn't there a way to find out the name of the source file from
within the main document?

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 04:11 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.