CSV Exporting: Preserving leading zeros

前端 未结 4 573
后悔当初
后悔当初 2020-12-21 21:25

I\'m working on a .NET application which exports CSV files to open in Excel and I\'m having a problem with preserving leading zeros when the file is opened in Excel. I\'ve

4条回答
  •  不知归路
    2020-12-21 22:06

    Ok, new discovery.

    Using Quick Preview on Mac to view a CSV file the telephone column will display perfectly, but opening the file fully with Numbers or Excel will ruin that column.

    On some level Mac OS X is capable of handling that column correctly with no user meddling.

    I am now working on the best/easiest way to make a website output a universally accepted CSV with telephone numbers preserved.

    But maybe with that info someone else has an idea on how to make Numbers handle the file in the same way that Quick Preview does?

提交回复
热议问题