I think it has something to do with the way Excel 2007 imports .csv files vs how Excel 2003 does it. When I import a csv file with dates in Excel 2003, it treats the value as a date but in Excel 2007, it treats my values as text.

Can you suggest a solution?

Thanks.