Variables Object Members

Word Developer Reference

A collection of Variable objects that represent the variables added to a document or template. Document variables are used to preserve macro settings in between macro sessions.

Methods

  Name Description
Bb258007.methods(en-us,office.12).gif Add Returns a Variable object that represents a variable added to a document.
Bb258007.methods(en-us,office.12).gif Item Returns an individual Variable object in a collection.

Properties

  Name Description
Bb258007.properties(en-us,office.12).gif Application Returns an Application object that represents the Microsoft Word application.
Bb258007.properties(en-us,office.12).gif Count Returns a Long that represents the number of variables in the collection.
Bb258007.properties(en-us,office.12).gif Creator Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long.
Bb258007.properties(en-us,office.12).gif Parent Returns an Object that represents the parent object of the specified Variables object.