Hi,
When I open excel file (version 97 to 2003) that rise exception (File does not contain workbook stream') . because sheetname like this (name.rpd) ,that contains dot
how can we solve this?
using (ExcelEngine excelEngine = new ExcelEngine())
{
IApplication app = excelEngine.Excel;
app.IgnoreSheetNameException = false;
IWorkbook workbook = app.Workbooks.Open(headFilePath);
workbook.Version = ExcelVersion.Excel97to2003;
IWorksheet worksheet = workbook.Worksheets[0];
worksheet.UsedRangeIncludesFormatting = true;
int rowCount = worksheet.UsedRange.LastRow;
int colCount = worksheet.UsedRange.LastColumn;