Application.VBE property (Excel)

Returns a VBE object that represents the Visual Basic Editor. Read-only.

Syntax

expression.VBE

expression A variable that represents an Application object.

Example

This example changes the name of the active Visual Basic project.

Application.VBE.ActiveVBProject.Name = "TestProject"

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.