How to reference the ExcelApp in the AddinModule from other classes?

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

How to reference the ExcelApp in the AddinModule from other classes?
 
li xs




Posts: 5
Joined: 2021-05-17
How to reference the ExcelApp in the AddinModule from other classes?
or Can I create a new ExcelApp Instance in the other classes?
Thanks!
Posted 25 May, 2021 02:43:49 Top
Andrei Smolin


Add-in Express team


Posts: 18224
Joined: 2006-05-11
Hello Li,

Use {your add-in project e.g. MyAddin1}.AddinModule.CurrentInstance.{ExcelApp or any other public property or method declared on the add-in module}

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 25 May, 2021 05:44:09 Top