WinWord: Updating All Fields When Printing Documents

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 versions 3.0, 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:


  2. 
         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 
  3. From the File menu, choose Close. Choose the OK button when prompted to save changes to Global:FilePrint.


  4. 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

Additional query words: winword2 1.0 1.10a 2.0 , 6.0 word6 winword

Keywords :
Version : WINDOWS:1.0,1.1,1.1a,2.0,2.0a,2.0a-CD,2.0b,2.0c,3.0,3.1,6.0,6.0a,6.0c
Platform : WINDOWS
Issue type :


Last Reviewed: October 21, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.