Application.VBE Property

Word Developer Reference

Returns a VBE object that represents the Visual Basic Editor.

Syntax

expression.VBE

expression   An expression that returns an Application object.

Example

This example displays the number of references available for the active project.

Visual Basic for Applications
  MsgBox "References = " & VBE.ActiveVBProject.References.Count

See Also