VBE Property

Gets the VBAIDE extensibility object.

See Also | Example

Signature

object.VBE

object

Application
The object or objects this property applies to.

VBE

Microsoft VBE object; read-only
The VBAIDE extensibility object.

Remarks

This property allows you to access the VBA IDE object model from AutoCAD's object model. The property will throw an exception if the VBAIDE is not available. For example, the VBAIDE is not available if the acvba.arx app has not been loaded.

The following line of code returns the name of the active VBA project description string:

ThisDrawing.Application.VBE.ActiveVBProject.Description

 

   Comments?