Is it possible to test if "Power Query for Excel" add-in is installed and enable using excel macros ? I'd like to use it to authorize the Data refreshing of my workbook which is connected to several data sources using this add-in.
Thanks and Regards.
You could use something like this, as it's a COM add-in:
If you actually wanted to try and enable it as well if it is present, you could use something like this:
You can check if addin is installed by:
ie: