MailMergeFieldName interface
Office 2013 and later
Represents a mail merge field name in a data source.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
The MailMergeFieldName object is a member of the MailMergeFieldNames collection. The MailMergeFieldNames collection includes all the data field names in a mail merge data source.
Use FieldNames(index), where index is the index number, to return a single MailMergeFieldName object. The index number represents the position of the field in the mail merge data source.
You cannot add fields to the MailMergeFieldNames collection. Field names in a data source are automatically included in the MailMergeFieldNames collection.
Show: