T
thevelvet
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.XlListObjectSourceType.xlSrcRange, DataRange,
Type.Missing, Excel.XlYesNoGuess.xlYes, Type.Missing);
This code is can't conver type error
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.XlListObjectSourceType.xlSrcRange, DataRange,
Type.Missing, Excel.XlYesNoGuess.xlYes, Type.Missing);
This code is can't conver type error