Possible Duplicate:
Excel show leading zero in formula bar
I am using an excel sheet for automation. Whenever i write a number such as 0428537 in a cell of the Excel sheet, it changes to 428537.
How can I avoid without truncating the leading zero?
If it is for presentation purposes, you can change the format of that cell to a custom format
0000000.If you want the actual content of the cell to be 0428537, then it can’t be a number and you need to change the format of the cell to text.