Excel changes date formats

后端 未结 4 1490
春和景丽
春和景丽 2020-12-07 01:02

I run a process to produce a rather large CSV file of data. Sometimes I find it helpful to open the CSV in excel, make changes manually, and then re-save. However, if ther

4条回答
  •  悲哀的现实
    2020-12-07 01:19

    If you prepend an apostrophe ' to the beginning of any date string during the export process, Excel will read the value literally (i.e. as plain text) rather than trying to convert it to a date.

    This particular solution is handled during the export process. I'm not sure how you would change Excel to treat the file differently at runtime.

提交回复
热议问题