If the output in Excel to specify such a line
ExcelServer.AutomationServer.Cells[k, col+1] := '01/01'
Then in Excel it translates into a date.
How to make this happen?
If the output in Excel to specify such a line
ExcelServer.AutomationServer.Cells[k, col+1] := '01/01'
Then in Excel it translates into a date.
How to make this happen?
Quotation before the value set try:
ExcelServer.AutomationServer.Cells[k, col+1] := '''01/01'
Option: before inserting to set the format of cells Text .
Source: https://ru.stackoverflow.com/questions/113361/
All Articles