ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Microsoft.Office.Tools.Excel.ListObject (https://www.excelbanter.com/excel-programming/401463-microsoft-office-tools-excel-listobject.html)

thevelvet

Microsoft.Office.Tools.Excel.ListObject
 
I use VS2008 RTM version
I create Excel 2007 Add-in Project and I want to use
Microsoft.Office.Tools.Excel.ListObject not
Microsoft.Office.Inerop.Excel.ListObject.
How can I add ListObject to worksheet??

Microsoft.Office.Tools.Excel.ListObject listObj =
xlSheet.ListObjects.Add(Excel.XlListObjectSourceTy pe.xlSrcRange, DataRange,
Type.Missing, Excel.XlYesNoGuess.xlYes, Type.Missing);

This code is can't conver type error




All times are GMT +1. The time now is 02:27 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com