I am doing export of data from database to Excel. After exporting when opening the csv file, the excel application is autoformating the values in excel.
One my cell contained the value -A1177, but it got converted to zero.
Can any one let me know is there any solution to avoid this or switch off this autoformat in excel.
thanks.
The easiest way to do it, is to simply wrap the value in quotes, e.g.
asdasd,"-A1177",11/03/1984in your CSV file. You can also change the format of the column to `Text’.Otherwise, check out this excellent Stack Overflow Question and Answer