I get this error when I want to change from AxMicrosoft.Office.Interop.Owc11 to Microsoft.Office.Interop.Excel , from AxSpreadsheet currentSpreadSheet = GetTestSheet to SpreadsheetGear IWorkbook = GetWorkbook
'Microsoft.Office.Interop.Excel.SpreadsheetGear' does not contain a definition for 'ActiveCell' and no extension method 'ActiveCell' accepting a first argument of type 'Microsoft.Office.Interop.Excel.SpreadsheetGear' could be found (are you missing a using directive or an assembly reference?)
There is an error at ActiveCell
Object searchRange = IWorkbook.ActiveCell.Cells[1, 1];