Greetings,
Advice:
Go to your workbook where you have the reference and then go to your VBA Editor and check only the external reference (your DLL).
then run this code:
If you get error running the code, go to: File -> Options -> Trust Center -> Trust Center Settings -> Trust Access to VBA Project
After that you should have the GUID of the DLL you need like this:
If you need to register the DLL into the Reference Library then you can use this function in a module:
Then run this Sub in a Module:
With this in mind, in your Open Workbook Event write this code:
Between the {} put the GUID that shows in your Immediate window.
Hope it helps,
Daniel
Bookmarks