MailMergeDataSource Object
Word Developer Reference |
Represents the mail merge data source in a mail merge operation.
Remarks
Use the DataSource property to return the MailMergeDataSource object. The following example displays the name of the data source associated with the active document.
Visual Basic for Applications |
---|
|
The following example displays the field names in the data source associated with the active document.
Visual Basic for Applications |
---|
|
The following example opens the data source associated with Form letter.doc and determines whether the FirstName field includes the name "Kate."
Visual Basic for Applications |
---|
|
See Also