WdMailMergeComparison enumeration (Word)

Specifies the type of comparison to use when a condition is added to a mail merge process.

Name Value Description
wdMergeIfEqual 0 A value is output if the mail merge field is equal to a value.
wdMergeIfGreaterThan 3 A value is output if the mail merge field is greater than a value.
wdMergeIfGreaterThanOrEqual 5 A value is output if the mail merge field is greater than or equal to a value.
wdMergeIfIsBlank 6 A value is output if the mail merge field is blank.
wdMergeIfIsNotBlank 7 A value is output if the mail merge field is not blank.
wdMergeIfLessThan 2 A value is output if the mail merge field is less than a value.
wdMergeIfLessThanOrEqual 4 A value is output if the mail merge field is less than or equal to a value.
wdMergeIfNotEqual 1 A value is output if the mail merge field is not equal to a value.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.