In the Object Browser window there's a list of the libraries being used.
By default it comes with:
- Excel (Microsoft Excel version Object Library)
- Office (Microsoft Office version Object Library)
- stdole (OLE Automation)
- VBA (Visual Basic For Applications)
- VBAProject
They can also be found by looping the references of the VBProject using the VBIDE library (Microsoft Visual Basic for Applications Extensibility version) except for VBAProject.
Is VBAProject a library, a special keyword, or something else? Couldn't find any documentation on it.
I would guess it's part of the VBA library as well but it doesn't seem to appear under the references.
Dim ref As VBIDE.Reference
For Each ref In Application.VBE.VBProjects(1).References
MsgBox ref.Name & " - " & ref.Description
Next
VBAProject has the code names of the workbooks and sheets.
I also couldn't remove manually nor with code the Excel and VBA libraries to test if VBAProject would disappear (Office and stdole are removable).