Miguel Sousa
Posts: 7
Joined: 2010-11-22
|
I need to create ListObjects in AddinExpress.MSO.ADXAddinModule.HostApplication (which is an Interop.Excel.Application) ActiveSheet, those ListObjects datasource will be a dataset.
I need to use VSTO Worksheet,because it has the property Controls, and we can create ListObjects with datasets as data source (worksheet.Controls.AddListObject(dataSet, listName);).
How can i obtain a VSTO Worksheet from a Interop.Excel.Worksheet, knowing that when i use GetVstoObject with the AddinExpress.MSO.ADXAddinModule.HostApplication it returns null, and HasVstoObject returns false?
Thank you |
|
Eugene Astafiev
Guest
|
Hi Miguel,
Please note that you develop an Office COM add-in (not a document level add-in). According to the http://msdn.microsoft.com/en-us/library/cc668196.aspx article in the VSTO MSDN documentation it shouldn't return null in a document-level customization only. |
|
Eugene Astafiev
Guest
|
|