Authoring Source Documents » Microsoft Word » Using Variables in Word » Changing Variable Values in Word
Changing Variable Values in Word
You can change the value assigned to a variable in a Microsoft Word source document.
Note: After you change a variable value in your source document, update the variable value for the variable from the previous value to the new value by selecting all the content in your Microsoft Word source document and then pressing the F9 key.
The following procedure provides an example of how to change a variables in Microsoft Word source documents using Microsoft Word 2007 or 2010.
Note: Newer versions of Word may or may not use this exact procedure, however this may provide enough information to get working with variables in Word.
To change a variable value in a Microsoft Word source document
1. Open the Microsoft Word source document that contains the variable with a value you want to change.
2. On the File menu, click Info.
3. Click the Properties tab in the right-hand side of the window and click the Advanced Properties option from the dropdown
4. Click the Custom tab and from the Name list box, select the variable you wish to change
5. In the Value field, type a new value for the variable. The value you type is the value that Microsoft Word displays in your Microsoft Word document.
6. Click OK
7. On the Edit menu, click Select All.
8. Press the F9 key. Microsoft Word updates the variable value in each place in your source document where you inserted the variable.
9. Click Done again to close the window.
Was this helpful?
Last modified date: 12/09/2021