G
Gary Wu
Hi,
I use Word.MailMerge.Fields to get the set of fields in a document. One
of the fields is an IF formula that contains a couple of mailmerge
fields.
When I loop through the fields, for each field, I use
Word.MailMergeField.Code.Text to get the field code. When it loops to
the IF statement, I get the whole if statement instead of the fields
contained in the if statement as the field code. Is there a way to get
the fields contained in an if statement besides string parsing?
Thanks,
Gary
I use Word.MailMerge.Fields to get the set of fields in a document. One
of the fields is an IF formula that contains a couple of mailmerge
fields.
When I loop through the fields, for each field, I use
Word.MailMergeField.Code.Text to get the field code. When it loops to
the IF statement, I get the whole if statement instead of the fields
contained in the if statement as the field code. Is there a way to get
the fields contained in an if statement besides string parsing?
Thanks,
Gary