I've recently come across the same issue -- losing leading zeros when importing a .csv or a .txt file into excel. My solution: during the import process (ie. in the 'text import wizard' change the format of the column that contains that data to text or general.