Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
Mail Merge looping through records
HI
I'am using the code below to check or uncheck a box based on the value in a merged field. I don't know how to loop through all the records. it only compares the value once and not for each record With ActiveDocument If .MailMerge.DataSource.DataFields("Field1") 0 Then .FormFields("check1").CheckBox.Value = True Else .FormFields("check1").CheckBox.Value = False End If End With End Sub |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Merge Multiple Records from Excel into Word Mail Merge | Mailmerge | |||
mail merge missing records | Mailmerge | |||
Combine Mail Merge records when different records have 1 common fi | Mailmerge | |||
Mail merge several records on one page | Mailmerge | |||
how do I save mail merge records | Mailmerge |