Dates in Excel 5.0/95
Posted: Thu Sep 29, 2016 1:08 pm
Hello,
If I start up Excel (I'm using 2013), type a date value into a cell (For instance 11-Sep-16), then save it as XLSX and look at the cell with
XLS.Sheets[FActiveSheet].IsDateTime[FCol, FRow]
then it IsDateTime returns true as expected.
However, if I save the Excel file as XLS, using the "Microsoft Excel 5.0/95 Workbook" format, then IsDateTime returns false. The newer XLS formats work OK.
I know that there is an easy workaround, but is it possible to fix this?
Thanks,
John
If I start up Excel (I'm using 2013), type a date value into a cell (For instance 11-Sep-16), then save it as XLSX and look at the cell with
XLS.Sheets[FActiveSheet].IsDateTime[FCol, FRow]
then it IsDateTime returns true as expected.
However, if I save the Excel file as XLS, using the "Microsoft Excel 5.0/95 Workbook" format, then IsDateTime returns false. The newer XLS formats work OK.
I know that there is an easy workaround, but is it possible to fix this?
Thanks,
John