VBE Property

Applies To

CodeModule object, CodePane object, CodePanes collection, LinkedWindows collection, Properties collection, Property object, Reference object, References collection, VBComponent object, VBComponents collection, VBProject object, VBProjects collection, Window object, Windows collection.

Description

Returns the root of the VBE object. Read-only.

Remarks

All objects have a VBE property that points to the root of the VBE object.

See Also

Collection property, Parent property.

Example

The following example uses the VBE and Name properties to return the name of the active project.

Debug.Print Application.VBE.ActiveVBProject.Name