Using variables
Variables allow you to mark text that you know will change, for example dates, version numbers, or client names. WordPerfect allows you to create a variable. Once you have created a variable you can insert it in a document, edit it, or delete it. You can also chose to display the variables in a document.
WordPerfect lets you retrieve variables found in other documents. You can also copy variables from the current document or from the default or additional objects template. In addition, you can find variables that you previously inserted into a document.
WordPerfect allows you to save the variables you create. You can also specify where you want to save the variables by default.
To create a variable |
1.
|
|
Click Insert Variable.
|
2.
|
|
Click Create.
|
3.
|
|
In the Variables editor dialog box, type a name for the variable in the Variable box.
|
4.
|
|
Type a description in the Description box.
|
5.
|
|
Using the Variables editor menu bar, apply the variable attributes you want.
|
•
|
|
When naming a variable, you cannot choose the name of an existing variable or style.
|
•
|
|
If you want to display the codes that take effect when a variable ends, enable the Show ‘off codes’ check box.
|
•
|
|
You can specify which variables you want to display in the Variables list by clicking Options Settings, and enabling a check box in the Available variables list area.
|
•
|
|
If you want to display Reveal Codes window, enable the Reveal Codes check box.
|
To save a variable |
1.
|
|
Click Insert Variable.
|
2.
|
|
Click Options Save as.
|
3.
|
|
Choose the drive and folder where you want to save the variable.
|
4.
|
|
Type a name in the Filename box.
|
You can also
|
| |||||||||
Specify where to save new variables
|
Click Insert Variable, click Options Settings, and in the Save new variables to area, enable one of the following:
|
To insert a variable |
1.
|
|
Position the cursor where you want to insert the variable.
|
2.
|
|
Click Insert Variable.
|
3.
|
|
Choose a variable from the Variables list.
|
4.
|
|
Click Insert.
|
•
|
|
You can specify which variables you want to display in the Variables list by clicking Options Settings, and enabling a check box in the Available variables list area.
|
To retrieve a variable |
1.
|
|
Click Insert Variable.
|
2.
|
|
Click Options Retrieve.
|
3.
|
|
Choose the drive and folder where the document containing the variable is stored, and click OK.
|
To copy a variable |
1.
|
|
Click Insert Variable.
|
2.
|
|
Choose a variable from the Variables list.
|
3.
|
|
Click Copy.
|
4.
|
|
In the Variable copy dialog box, enable one of the following options:
|
•
|
Current document — saves the styles you create to the current document
|
•
|
Default template — saves the styles you create to the default template
|
•
|
Additional objects template — saves the styles you create to the template file you chose as your additional objects template
|
If you enabled the Current document option, type a name for the duplicate variable in the Variable name box.
|
•
|
|
You can specify a default or additional objects template by clicking Tools Settings Files, and clicking the Template tab in the Files settings dialog box.
|
•
|
|
You can specify which variables you want to display in the Variables list by clicking Options Settings, and enabling a check box in the Available variables list area.
|
To find a variable |
1.
|
|
Click Insert Variable.
|
2.
|
|
Choose a variable from the Variables list.
|
3.
|
|
Click Go to.
|
•
|
|
You can specify which variables you want to display in the Variables list by clicking Options Settings, and enabling a check box in the Available variables list area.
|