The information in this article applies to:
SUMMARYWhen you are writing a macro, you may need to know how many records are in the attached mail merge data source. This article lists a sample macro that you can use to determine the number of records in the attached data source. MORE INFORMATION
Run the following macro from the main document to determine the number of
records in the attached data source.
The MailMergeLastRecord statement displays the last record in the data
source if there are no query options. The MailMergeGoToRecord() function
returns the number of the displayed record.
Additional query words: 6.0 winword word6
Keywords : |
Last Reviewed: December 28, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |