Unknown Attributes issue again
Posted: Thu Aug 08, 2013 10:53 am
I'm trying to open up XLS 2013 files and this fails with an unknown attribute: shapeID, I am using XLSRW2 version 5.10.28
I had a similar problem before and was advised to set SaveToList on but this doesn't appear to be working. I have the following code and this still raises an error.
I though that the unknown attributes were going to be changed to be warnings, not errors.
Looking in TCT_Comment.AssignAttributes and TCT_Sst.AssignAttributes these both raise errors - commenting out the code in the else lets the spreadsheets open up just fine and work.
I had a similar problem before and was advised to set SaveToList on but this doesn't appear to be working. I have the following code and this still raises an error.
Code: Select all
XLS.Filename := FLocationFileName;
XLS.Errors.SaveToList := True;
XLS.Errors.Filter := [xelMessage, xelHint, xelWarning, xelError, xelFatal, xelDebug];
XLS.Read;
Looking in TCT_Comment.AssignAttributes and TCT_Sst.AssignAttributes these both raise errors - commenting out the code in the else lets the spreadsheets open up just fine and work.