Edit

Share via


Global.VBE property (Word)

Returns a VBE object that represents the Visual Basic Editor.

Syntax

expression.VBE

expression Required. A variable that represents a 'Global' object.

Example

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

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

See also

Global Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.