View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Angus Comber[_2_] Angus Comber[_2_] is offline
external usenet poster
 
Posts: 15
Default Date format when opening a .CSV file programmatically

What Regional Setting is your computer set to?

dd/mm/yyyy is not US format. Possibly default VBA format used for date is
US? Just a guess.

Angus Comber

"jason" wrote in message
om...
have a date 05/11/2003 in a cell in a csv file
if I open the file manually it reads 05/11/2003
if I open the file via vba it reads 11/05/2003

(if I right click on the cell in all three above cases the format is
the same Custom - "dd/mm/yyyy")

Any ideas

Jason