How to disable Excel's auto recognition of numbers and text

Posted by Yin Zhu on Stack Overflow See other posts from Stack Overflow or by Yin Zhu
Published on 2010-03-23T01:35:16Z Indexed on 2010/03/23 1:41 UTC
Read the original article Hit count: 394

Filed under:
|

I used Python to generate a CSV file. But when I open it in Excel, Excel will auto recognize a string into a number if it could be converted.

e.g.33E105, which is actually an ID, not a number.

How to disable this in Excel while opening a CSV file? Or I need to resort to a excel-python library to output a excel file and specify the format myself?

Thanks!

© Stack Overflow or respective owner

Related posts about excel

Related posts about python