View Single Post
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Peter Jamieson Peter Jamieson is offline
external usenet poster
 
Posts: 4,582
Default mail merge and document file

Which version of Word/Excel?

Are the 2008 and 2009 sheets definitely different files and not two
worksheets in the same workbook?

With your mailmerge main document open, can you go into Word VBA, open the
Immediate panel if it is not displayed (e.g. press ctrl-G in the VBA editor)
and type the following commands, and copy/paste the output in a message in
this conversation:

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

--
Peter Jamieson
http://tips.pjmsn.me.uk

"Courtney" wrote in message
...
I am having issues with the mail merge pulling in the wrong excel data. In
the mail merge menu I browse for and select a 2009 file. When the mail
merge
automatically opens the file in excel it opens the correct file, 2009.
However when it gets to the step of selecting a named or cell range I
select
I am getting a range for the 2008 file and not the 2009 file.

Does anyone have any ideas why it is pulling the 2008 file and not the
2009
file?