View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
thevelvet thevelvet is offline
external usenet poster
 
Posts: 3
Default 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