Article ID: 922075 - View products that this article applies to.
For a Microsoft Word 2002 and Microsoft Office Word 2003 version of this article, see 291474
For a Microsoft Word 2000 version of this article, see 212356
Consider the following scenario. You open a document from an earlier version of Microsoft Word in Microsoft Office Word 2007. If the document is protected for filling in forms, some fields in this document may not be updated when you complete the form.
This article describes how these fields can be updated. Additionally, the article describes how to use a macro to automatically insert and update the result of one form field into another form field.
The methods that are described in this article use the tools in the Legacy Forms gallery. To access the Legacy forms gallery, click the Developer tab, click Legacy tools in the Control group, and then click the Legacy Forms tool that you want to use.
Note If you do not see the Developer tab, follow these steps:
Method 1: Use the "Calculate on exit" optionIn Word 2007, form fields include a Calculate on exit option. When this option is enabled, fields and form fields can be updated in a protected form document.
To enable the Calculate on exit option, follow these steps:
(http://support.microsoft.com/kb/212244/ )How to update Text form fields automatically by using the "Calculate on exit" option in Word 2000 or Word 2002
Method 2: Update the reference fields in a printed documentYou may want to use a reference field to repeat a form field entry elsewhere in a document. These reference fields must be updated to print the form field entry that the reference fields are repeating. An update includes all fields, such as "date" and "time."
To update the reference fields, follow these steps:
Note To use a reference field to repeat a form field entry, follow these steps:
Method 3: Use a macroMicrosoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure. However, they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements.
You may require all fields to be updated on the screen as you complete the form. This includes fields that are not updated by using the Calculate on exit option that is described in Method 1. In this case, use the following macro as the "On exit" macro for the form field or fields.
Note When you run the following macro, all fields in the whole document are updated. This includes linked objects, such as a linked Microsoft Excel spreadsheet.
Note Because this "On exit" macro may cause a small delay on some computers, you may want to enable the Update Fields on printing option if the document is to be a printed form. You may also want to enable the Calculate on exit option, as described in Method 1.
Article ID: 922075 - Last Review: October 15, 2007 - Revision: 2.4
Contact us for more help