R
ram
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
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