I'm trying to import the attached sheet but it doesn't get the last column. If i open the file in excel and resave it gets the column. Any ideas?
Code Snippet
/********************/
XLS.ExcelUtils.ThrowNotSavedOnDestroy = false;
XLS.IWorkbook excelBook = XLS.ExcelUtils.Open(inputStream);
IDataService dataService = ServiceManager.DataService;
IWorkbook workbook = null;
if (hasMultiplNonEmptyWorksheets(excelBook))
{
workbook = dataService.CreateWorkbook();
}
IWorksheet worksheet = null;
for (int index = 0; index < excelBook.Worksheets.Count; index++)
{
XLS.IWorksheet excelSheet = excelBook.Worksheets[index];
// excelSheet.UsedRange Cells and Column counts do not include the last column
}
BUG_754_columnError2.zip