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

WordPerfect Office btnbacktotopproc Using variables
1.
 
Click Insert WordPerfect Office onestep Using variables 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.

You can also
Delete a variable
Click Insert WordPerfect Office onestep Using variables Variable, choose a variable from the Variables list, and click Delete.

In the Delete variables dialog box, enable one of the following options:
 
Including formatting notes — deletes the variable and any codes that belong to the variable
 
Leave formatting codes in document — deletes the variable, but retains codes that belong to the variable.
Edit a variable
Click Insert WordPerfect Office onestep Using variables Variable, choose a variable from the Variables list, and click Edit.

Using the Variables editor menu bar, edit the variable attributes.
View a variable
Click View WordPerfect Office onestep Using variables Variables.

WordPerfect Office note Using variables

 
When naming a variable, you cannot choose the name of an existing variable or style.

WordPerfect Office tip Using variables

 
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 WordPerfect Office onestep Using variables 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

WordPerfect Office btnbacktotopproc Using variables
1.
 
Click Insert WordPerfect Office onestep Using variables Variable.
2.
 
Click Options WordPerfect Office onestep Using variables 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 WordPerfect Office onestep Using variables Variable, click Options WordPerfect Office onestep Using variables Settings, and in the Save new variables to area, enable one of the following:
 
Current document
 
Default template
 
Additional objects template

To insert a variable

WordPerfect Office btnbacktotopproc Using variables
1.
 
Position the cursor where you want to insert the variable.
2.
 
Click Insert WordPerfect Office onestep Using variables Variable.
3.
 
Choose a variable from the Variables list.
4.
 
Click Insert.

WordPerfect Office tip Using variables

 
You can specify which variables you want to display in the Variables list by clicking Options WordPerfect Office onestep Using variables Settings, and enabling a check box in the Available variables list area.

To retrieve a variable

WordPerfect Office btnbacktotopproc Using variables
1.
 
Click Insert WordPerfect Office onestep Using variables Variable.
2.
 
Click Options WordPerfect Office onestep Using variables Retrieve.
3.
 
Choose the drive and folder where the document containing the variable is stored, and click OK.

To copy a variable

WordPerfect Office btnbacktotopproc Using variables
1.
 
Click Insert WordPerfect Office onestep Using variables 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.

WordPerfect Office tip Using variables

 
You can specify a default or additional objects template by clicking Tools WordPerfect Office onestep Using variables Settings WordPerfect Office onestep Using variables 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 WordPerfect Office onestep Using variables Settings, and enabling a check box in the Available variables list area.

To find a variable

WordPerfect Office btnbacktotopproc Using variables
1.
 
Click Insert WordPerfect Office onestep Using variables Variable.
2.
 
Choose a variable from the Variables list.
3.
 
Click Go to.

WordPerfect Office tip Using variables

 
You can specify which variables you want to display in the Variables list by clicking Options WordPerfect Office onestep Using variables Settings, and enabling a check box in the Available variables list area.

Using variables