2

I created a projects for an add-ins in excel using ribbon designer and i am planning do to some changes. However, to work with excel.interop is really tricky.

So, i wish to know if it is possible to coexist Netoffice and VSTO?.

AFAIK, what i am missing is the way to obtain the current application

in NetOffice:

var application= new Excel.Application(???, ????);

while in VSTO i use:

var application=Globals.ThisAddIn.Application;
magallanes
  • 6,583
  • 4
  • 54
  • 55
  • [ie?](http://xldennis.wordpress.com/2007/11/25/access-running-instances-of-excel-in-vb/) –  Nov 25 '13 at 14:15

1 Answers1

2

Equivalent for Globals.ThisAddIn.Application in Netoffice is this.Application There are some samples with the NetOffice source code to help.

Kiru
  • 3,489
  • 1
  • 25
  • 46