Variable Object Members
Represents a variable stored as part of a document. Document variables are used to preserve macro settings in between macro sessions. The Variable object is a member of the Variables collection. The Variables collection includes all the document variables in a document or template.
Methods
Name |
Description |
---|---|
Deletes the specified variable. |
Properties
Name |
Description |
---|---|
Returns an Application object that represents the Microsoft Word application. |
|
Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long. |
|
Returns a Long that represents the ordinal position of a variable with in the collection of variables. Read-only. |
|
Returns the name of the specified object. Read-only String. |
|
Returns an Object that represents the parent object of the specified Variable object. |
|
Returns or sets the value of a document variable. Read/write String. |