KB169: How to Update Word Form Fields Automatically by Using
the Calculate on Exit Option
Applies to:
Microsoft Word
Step 1: Open a Word Document with Text
Form Fields
To Update Text Form Fields Automatically by
Using the Calculate on Exit Option, follow these steps:
- Unprotect the form document:
- Click Tools > Unprotect
Document
- Double-click the first form field (or
right-click the field and then click Properties on the
shortcut menu) to access its options. Set the options to the following:
- Under Type, select
Number.
- Under Field Settings,
select the Calculate on exit check box and
enter a meaningful Bookmark name.
- Set other field options, if needed, such
as Default Number and Number Format.
- Click OK.
- Repeat step 2 for the second form field.
- Double-click the last form field to access
its options. Set the options to the following:
- Under Type, select
Calculation.
- In the Expression box,
type an appropriate
formula calculation such as
=SUM(BookmarkName1,BookmarkName2)
or
=(BookmarkName1 * BookmarkName2).
- Under Field Settings,
select the Calculate on exit check box.
NOTE: BookmarkName1 and BookmarkName2 in this example
are the bookmark names for the two Text form fields in steps 2 and 3.
- Click OK.
- Protect the form document:
- Click Tools > Protect
Document > Forms and click OK
- Save the document or Save as a
Document Template.
Source: Ellen Ricca
Date Reviewed: 6/27/2003