Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
kmordecai kmordecai is offline
external usenet poster
 
Posts: 2
Default Mail Merge Skips Some Records

I have used the following code to link Word Document to an Excel Spreadsheet
(so that the document will update with the most recent information from the
spreadsheet each time it is opened):

{IF {MERGEFIELD Program_Committee} = "X" "
Program Committee" ""} {IF { MERGEFIELD Program_Committee} = "Chair" "
Program Committee, Chair" ""}


The idea is that if the person on my list is a member of the Program
Committee, there is an "X" in the merged field from my spreadsheet, and
"Program Committee" is displayed in my document. (Otherwise, nothing is
displayed.) Likewise, if they are the Chair, the referenced cell contains the
word "Chair."

The system is generally working, with one major exception: If none of the
first nine rows of the spreadsheet contain an "X" or the word "Chair", Word
seems to stop "looking" for the X, and it returns a blank for all of the rest
of the records.

If I put an X in any of the first 9 rows, everything works perfectly.
Unfortunately, for one of my committees, none of the first 9 members of the
group (listed alphabetically) are members.

Why is my merge skipping these records? Any clever solutions?
Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail Merge Skips Some Records kmordecai Microsoft Word Help 2 February 11th 10 11:13 PM
skipped records- prints the first 2 skips 1, prints 2, skips 1, e leonco Mailmerge 1 September 4th 09 09:08 AM
mail merge skips data from excel mrstink Mailmerge 1 August 6th 09 02:34 AM
Combine Mail Merge records when different records have 1 common fi TFFAV Mailmerge 1 December 12th 06 11:56 PM
Mailmerge prints first 2 records then skips two then repeats l8tto Mailmerge 2 August 10th 06 06:33 AM


All times are GMT +1. The time now is 04:15 AM.

Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"