Variable members

Represents a variable stored as part of a document. Document variables are used to preserve macro settings in between macro sessions.

The Variable type exposes the following members.

  Name Description
Public property Application Returns a Application object that represents the Microsoft Word application.
Public property Creator Returns a 32-bit integer that indicates the application in which the specified object was created.
Public property Index Returns an Integer that represents the position of an item in a collection.
Public property Name Returns or sets the name of the specified object.
Public property Parent Returns an object that represents the parent object of the specified object.
Public property Value Returns or sets the value of the document variable.

  Name Description
Public method Delete Deletes the specified object.