Hello experts,
I was wondering if it is possible to list all object library references in MS Excel VBE References Dialog Box. I know that the code below will print those references in the ActiveProject (the ones that are checked in the dialog).
The reason I want to do this is so that I can capture Reference:
1. Name
2. Description
3. GUID
I can return the TypeLibrary and Path and I can also search for broken references, but I'd like to dynamically capture the information above too.
In this way, I can AddFromGUID by passing string arguments to a function or I can also AddFromFile.
I appreciate your help.
thanks,
Ben
I was wondering if it is possible to list all object library references in MS Excel VBE References Dialog Box. I know that the code below will print those references in the ActiveProject (the ones that are checked in the dialog).
Code:
Function ListAllRefs()
For Each my_ref In ThisWorkbook.VBProject.References
Debug.Print my_ref.Name
Next
End Function
The reason I want to do this is so that I can capture Reference:
1. Name
2. Description
3. GUID
I can return the TypeLibrary and Path and I can also search for broken references, but I'd like to dynamically capture the information above too.
In this way, I can AddFromGUID by passing string arguments to a function or I can also AddFromFile.
I appreciate your help.
thanks,
Ben