Sitemap  · Français  · English  · Deutsch
Home » Blog » Article
Article

The changes to the AddIn objects in Excel 2010

22.02.2010
Today, I had a closer look on the changes to the “AddIn” object and the new object “AddIns2” in Excel 2010. The “AddIn” object has been only extended by the property “IsOpen”, allowing to check programmatically if a specific Add-In is loaded or not. The new object “AddIns2” lists, unlike the already existing object “AddIns”, all available Add-Ins regardless if they have been installed or not. The following screenshot demonstrates this behaviour. First, I loaded the Add-In “Test.xla” by opening the file with the file open dialog.

Excel VBA Addins Objects

Then, a simple loop through the two collections leads to the result shown above; there is one item more in the “AddIns2” collection. The new object contains following methods and properties:

Finally, I would like to recommend the post Migrating Excel 4 Macros to VBA on the Microsoft Excel Blog, where you can find more informations and also a section about the the “AddIns2” object.