VBE Property
Returns a VBE object that represents the Microsoft Visual Basic Editor.
expression.VBE
*expression * Required. An expression that returns an Application object.
Example
The following example creates a reference to the Visual Basic Editor and displays the name of the active project to the user.
Sub ReturnVBE()
'Creates a reference to the VBE and displays a message to user
Dim objApp As FrontPage.Application
Set objApp = FrontPage.Application
'Display the name of the active project
MsgBox "The name of the active project is: " & _
objApp.VBE.ActiveVBProject.Name
End Sub
Applies to | Application Object