VBE Property
VBE Property
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.
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