Excel tip: Setting a reference to the VBA Extensibility libraryDate: 6 september 2001When your coding the VBE you have to set a reference to the VBA Extensibility library. This can be done manualy, but also with the following code. Copy-paste friendly code: Sub MakeLibrary()
' create a reference to the VBA Extensibility library. On Error Resume Next ' in case the reference already exits ThisWorkbook.VBProject.References _ .AddFromGuid "{0002E157-0000-0000-C000-000000000046}", 5, 0 End Sub « back | ||
Home
Privacy Policy
Cookie Policy
EULA
Download
All added Excel tools
Sitemap
Contact Us
©1999-2025 ∙ ASAP Utilities ∙ A Must in Every Office BV ∙ The Netherlands
🏆 Winner of the "Best Microsoft Excel Add-in" Award at the Global Excel Summit 2025 in London! For over 25 years, ASAP Utilities has helped users worldwide save time and do what Excel alone cannot. |