[]
Gets or sets whether string values are automatically parsed when assigned to a range.
When this property is true, string values assigned with Value
may be interpreted as numbers, date/time values, boolean values, error values, or empty cell values
instead of being kept as plain text.
public bool AutoParse { get; set; }
Public Property AutoParse As Boolean
workbook.AutoParse = true;
worksheet.Range["A1"].Value = "123";
object value = worksheet.Range["A1"].Value;