Thursday, January 1, 2009

Name 'XlCellType' is not declared Error in VB.NET

Name 'XlCellType' is not declared : PRefix the with Microsoft.Office.Interop.Excel

Imports Excel = Microsoft.Office.Interop.Excel

Excel.XlCellType.xlCellTypeLastCell

Sheets(1).cells.specialcells(Excel.XlCellType.xlCellTypeLastCell).row

0 comments:

kbAlertz.com :: Visual Studio 2005

kbAlertz.com :: Visual Studio 2008

kbAlertz.com :: Visual Basic 2005