Gets the VBA editor reference
Syntax:
Property Get VBE() As Object
Remarks:
The VBE property returns a read-only reference to the Macro Editor.
Examples:
The following VBA example displays the editor type name in the Debug window of the Macro Editor in CorelDRAW.
Sub AppVBE()
Dim obj as Object
Set obj = Application.VBE
Debug.Print TypeName (obj) 
End Sub