Object | Result of using Name property setting |
VBProject | Returns or sets the name of the active project. |
VBComponent | Returns or sets the name of the component. An error occurs if you try to set the Name property to a name already being used or an invalid name. |
Property | Returns the name of the property as it appears in the Property Browser. This is the value used to index the Properties collection. The name can't be set. |
Reference | Returns the name of the reference in code. The name can't be set. |
Debug.Print Application.VBE.VBProjects(1).VBComponents(1).Name