TExcelTypes.ConvertToAllowedObject Method
Converts an object to a native Excel datatype, that is: Number, String, Null, bool or Error.
Syntax
Unit: FlexCel.Core
class function TExcelTypes.ConvertToAllowedObject(const o: TCellValue; const Dates1904: Boolean): TCellValue; static; overload;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | o | TCellValue | Object to convert. |
const | Dates1904 | Boolean | True if using 1904 as start date. Excel for windows normally uses 1900. |