I am using a macro to create a csv file (comma seperated text file). I have some entries which are numbers with leading zeros e.g 0001245
I want to keep these leading zeros and have them appear when the file is eventually opened in Excel.
I am able to capture them in the csv file by using double quotation marks and it appears like this in the cvs file
" 0101 "," 1792 ","0001245453"
But when opened in Excel the leading zeros are always dropped.
Is there any way to keep the zeros showing when opened in Excel?
Thanks
voodoo
I want to keep these leading zeros and have them appear when the file is eventually opened in Excel.
I am able to capture them in the csv file by using double quotation marks and it appears like this in the cvs file
" 0101 "," 1792 ","0001245453"
But when opened in Excel the leading zeros are always dropped.
Is there any way to keep the zeros showing when opened in Excel?
Thanks
voodoo