How to Calculate Form Field Codes
Microsoft Word can conduct low-level calculations via the program's form field, where you can store values and formulas. You can also store the form field codes as variables, through bookmarking them and adding bookmark names representing formulas to apply. For instance, you can create a sales form that calculates totals.
Instructions
-
-
1
Click “Start,” “All Programs” and “Microsoft Word” to enter the Word interface. Click “Insert” and choose “Table” to insert a table. Specify two columns and three rows in the Insert Table dialog. Enter Price, Quantity and Total in the right column respectively.
-
2
Right-click any menu in the Word document, and choose “Forms.” Click the “Text Form Field” button. A text form field may contain several types of data: text, numbers, symbols or dates.
-
-
3
Press “Alt” and “F9” concurrently to display field codes. Place your cursor on the first cell of the second column. Click the “Text Form Field” button. Right-click the newly inserted form field, and choose “Properties.” Choose “Number” Type for the form field.
-
4
Choose the currency setting from the “Format Number” list. Enter “Price” in the Bookmark text field.
-
5
Create another two text form fields “Quantity” and “Total” similarly. Right-click the “Total” field, and choose “Properties” from the context menu. Choose “Calculation” Type for the Text field. Enter “Price*Quantity” in the “Expression” field. Click “OK.” Now you are ready to use the form to do calculations.
-
1
References
- Photo Credit Creatas/Creatas/Getty Images