S
Sunil Sudhakaran
I have a Document that is having many Field codes.
I would like to extract the following information from the if field.
{ if {MERGEFIELD Version} = "CustomerA" "contact (e-mail address removed)"}
I tried using MailMergeField.Next.Code got the Condition, not able to get
other values
Dim doc As Document
Dim fld As MailMergeField
Set doc = ActiveDocument
For Each fld In doc.MailMerge.Fields
........
If fld.Type = wdFieldIf Then
..........
MsgBox fld.Next.Code
End if
How to get the values for Comparison,CompareTo and TrueAutoText
Regards
Sunil S.
I would like to extract the following information from the if field.
{ if {MERGEFIELD Version} = "CustomerA" "contact (e-mail address removed)"}
I tried using MailMergeField.Next.Code got the Condition, not able to get
other values
Dim doc As Document
Dim fld As MailMergeField
Set doc = ActiveDocument
For Each fld In doc.MailMerge.Fields
........
If fld.Type = wdFieldIf Then
..........
MsgBox fld.Next.Code
End if
How to get the values for Comparison,CompareTo and TrueAutoText
Regards
Sunil S.