WD: NUMPAGES Field Does Not Work During Mail Merge |
Q188405
When you perform a mail merge operation using a main document that contains
a NUMPAGES field, the number "1" appears in the merged documents,
regardless of how many pages there are in the main document.
This occurs regardless of whether you insert the NUMPAGES field in the
header, footer, or the body of your main document.
To work around this behavior, use one of the following methods.
{PAGEREF MergedNumber}NOTE: This workaround provides incorrect PAGEREF field results if you use the Merge To New Document option when you perform the print merge operation. It only works if you use the Merge To Printer option.
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was corrected in Microsoft Word 98 Macintosh Edition.
By design, Word does not insert the NUMPAGES field in merged documents
because the field result would reflect the total pages in the merged
document instead of the total pages for each record. Therefore, the
NUMPAGES field is often inappropriate for print merge main documents.
NOTE: The NUMPAGES field obtains its result from the Document
Statistics dialog box. You cannot modify Document Statistics information;
therefore, you cannot affect the result of the NUMPAGES field.
"Microsoft Word for Windows User's Guide," version 2.0, pages 637-639
Additional query words: winword2 wrong unlink
Keywords : kbdta kbmerge
Issue type : kbbug
Technology :
|
Last Reviewed: November 4, 2000 © 2001 Microsoft Corporation. All rights reserved. Terms of Use. |