VBE Property

Returns a VBE object that represents the Visual Basic Editor.

expression.VBE

expression Required. An expression that returns an Application object.

Example

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

MsgBox "References = " & VBE.ActiveVBProject.References.Count

Applies to | Application Object | Global Object

See Also | ShowVisualBasicEditor Property | VBProject Property