Stop Excel from automatically converting certain text values to dates

前端 未结 30 2623
别跟我提以往
别跟我提以往 2020-11-22 04:16

Does anyone happen to know if there is a token I can add to my csv for a certain field so Excel doesn\'t try to convert it to a date?

I\'m trying to write a .csv fil

30条回答
  •  广开言路
    2020-11-22 04:49

    Its not the Excel. Windows does recognize the formula, the data as a date and autocorrects. You have to change the Windows settings.

    "Control Panel" (-> "Switch to Classic View") -> "Regional and Language Options" -> tab "Regional Options" -> "Customize..." -> tab "Numbers" -> And then change the symbols according to what you want.

    http://www.pcreview.co.uk/forums/enable-disable-auto-convert-number-date-t3791902.html

    It will work on your computer, if these settings are not changed for example on your customers' computer they will see dates instead of data.

提交回复
热议问题