Is it a csv file? Open the file in notepad and you'll see your leading zeros are still there.
Open Excel, click Data - Import External Data - Import Data and browse to your csv file. As you go thru the import wizard change the column type to Text for the column with leading zeros and they'll come into Excel that way.
Hope that helps.
Scot
Main Topics
Browse All Topics





by: roryaPosted on 2006-12-08 at 08:05:07ID: 18102290
Hi,
You need to either format the cells as Text before assigning values to them, or assign a value prepended with a single quote - Excel will then treat the number as text and retain the leading zero.
HTH
Rory