Visual Basic Extensibility Reference
ActiveVBProject Property Example
The following example uses the ActiveVBProject property to return the name of the active project.
Debug.Print Application.VBE.ActiveVBProject.Name
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
The following example uses the ActiveVBProject property to return the name of the active project.
Debug.Print Application.VBE.ActiveVBProject.Name