Compartilhar via


Global Object

Word Developer Reference

Contains top-level properties and methods that do not need to be preceded by the Application property.

Remarks

The following two statements have the same result. One statement uses the Application property to access the Documents collection, and one does not. Both statements are equal and achieve the same result.

Visual Basic for Applications
  Documents(1).Content.Bold = True
Application.Documents(1).Content.Bold = True

See Also