Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
Help with embedded "If"
I'm trying to merge Excel data to Word based on two values: "UIC" and "Room" {IF {MERGESEQ } = 1 ""} { SET UIC1 { MERGEFIELD UIC }} { SET ROOM1 { MERGEFIELD ROOM }} { IF { UIC2 } { UIC1 } { AND { IF { ROOM2 } { ROOM1} }} "{MERGEFIELD UIC } { MERGEFIELD ROOM } {MERGEFIELD LAST }" "{MERGEFIELD UIC } { MERGEFIELD ROOM } {MERGEFIELD LAST }" { SET UIC2 {MERGEFIELD UIC } {SET ROOM2 {MERGEFIELD ROOM } }} This is partially working: - It's skipping records - Where each skipped record is supposed to be, there's an "Error! Bookmark not defined" message. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
email merge with multiple recipients in "To", "CC" & "BCC" | Mailmerge | |||
What does "char" "char1" "char2" mean in styles in Word? | Microsoft Word Help | |||
Word: 'track changes": have "changed by" rather "del." and "inser | Microsoft Word Help | |||
The "Symbol" under "Insert" disappeared and replaced by "Number" | Microsoft Word Help | |||
Convert "dragged-in-Pic" to "embedded-Pic" ? | Microsoft Word Help |