Hi Keith2816,
I must have been really tired when I answered you before <thunk>
The correct response should have been:
When you filter in Excel, Word will still pick up all the records. You
need to go into Word's query options and set one field that you know
always has entries to "Is not blank". Filtered records in Word are picked
up as "empty records", so setting an option to pick up "not blank" will
leave these out of the mail merge.
> I have solved the problem by using the query option of mail merge to
> sort my result by 'Name' plus using the filter option as mentioned
> earlier. This seems to solve my problem but I am wondering what is the
> significance of using the sort function as I can pre-sort my excel data
> source in that order prior to mail merging.
Often, trying to sort an Excel file coming across by DDE won't work; mail
merge will retain the sort order from Excel. The purpose of having the
sort order in the Query Options is that not every data source has such a
convenient interface as Excel, and not everyone can use Excel :-) If the
data is coming in directly from, say, SQL Server or a FoxPro table the
user won't have any control about how the data is sorted.
Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Sep 30 2003)
http://www.mvps.org/word
This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)