WinWord: Updating All Fields When Printing Documents

Last reviewed: July 30, 1997
Article ID: Q86575
The information in this article applies to:
  • Microsoft Word for Windows, versions 1.0, 1.1, 1.1a, 2.0, 2.0a, 2.0a-CD, 2.0b, 2.0c, 6.0, 6.0a, 6.0c
  • Microsoft Windows operating system versions 3.0 and 3.1

SUMMARY

All the fields in a Microsoft Word for Windows document are updated when you print the document if the Update Fields check box is selected in the Options dialog box. To access this option, choose Print from the File menu, and choose the Options button.

If the Update Fields check box is selected in Word version 2.0, 6.0, 6.0a, 6.0c of Word for Windows, the option is remembered between sessions of Word. The selections in the Options dialog box are recorded in the Word for Windows preferences file, WINWORD.INI (Word 2.0) or WINWORD.OPT (Word 6.0).

The Update Fields option in version 1.x of Word for Windows is not remembered between sessions of Word. In this situation, the FilePrint macro for version 1.x can be altered to automatically update all fields when a document is printed.

MORE INFORMATION

To edit the FilePrint macro for version 1.x of Word for Windows, use the following steps:

  1. From the Macro menu, choose Edit, and select FilePrint from the list of macros. (If the FilePrint macro is not listed, select the Show All check box.) Choose the OK button, and make the following modifications:

         Sub MAIN
    
         On Error Goto Done :       '  - Add this line
         Dim dlg As FilePrint
         GetCurValues dlg
         dlg.UpdateFields = 1       '  - Add this line
         Dialog dlg
         Super FilePrint dlg
         Done:                      '  - Add this line
         End Sub
    
    

  2. From the File menu, choose Close. Choose the OK button when prompted to save changes to Global:FilePrint.

  3. Choose Save All from the File menu and when prompted, choose to save global glossary and command changes.

The above change to the FilePrint macro will automatically select the Update Fields check box whenever you choose Print from the File menu.

REFERENCES

"Microsoft Word for Windows User's Guide," version 2.0, pages 117-118

"Microsoft Word for Windows User's Reference," version 1.x, pages 277-278

Kbcategory: kbusage kbmacro KBSubcategory:


Additional query words: winword2 1.0 1.10 1.10a 2.0 2.0a , 6.0
word6 winword
Version : 1.x 2.x 6.0 6.0a 6.0c
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: July 30, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.