OfficeDataSourceObject.ApplyFilter Method
Applies a filter to a mail merge data source to filter specified records meeting specified criteria.
Syntax
expression.ApplyFilter
expression A variable that represents an OfficeDataSourceObject object.
Example
This example adds a new filter that removes all records with a blank Region field and then applies the filter to the active publication.
| Visual Basic for Applications |
|---|
|