COM Addin for XLS and PPT. How to load in XLS only?

Add-in Express™ Support Service
That's what is more important than anything else

COM Addin for XLS and PPT. How to load in XLS only?
 
Kirill Lapin




Posts: 42
Joined: 2011-05-04
Hi there! Long time no speak :)
I initially designed a COM Add-in for MS Excel and PowerPoint, but now would like it to only register and load with Excel. How can I tell ADX (or VS?) not to register with PPT? I have ensured that all the ribbon controls have ExcelWorkbook in the ribbons property, but that doesn't seem to do the trick. I don't want to remove the Microsoft.Office.Interop.PowerPoint.dll reference as I am still going to interact with PPT from Excel. Currently when I load PowerPoint the add-in errors out and is disabled by office.

Thanks,
KL
Posted 28 Nov, 2018 15:39:08 Top
Andrei Smolin


Add-in Express team


Posts: 15821
Joined: 2006-05-11
Hello Kirill,

You need to modify the SupportedApps property of the add-in module accordingly.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 29 Nov, 2018 04:42:04 Top
Kirill Lapin




Posts: 42
Joined: 2011-05-04
Thank you. That was easy.
Posted 29 Nov, 2018 06:03:59 Top
Andrei Smolin


Add-in Express team


Posts: 15821
Joined: 2006-05-11
You are welcome!

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 29 Nov, 2018 06:11:29 Top