I think I have a problem that others must have come across before but I have not heard of it. When I use the File | Open command in MS Excel 97 to display a list of *.csv files I get the exact same list as when I use the following VBA code
Application.Dialogs(xlDialogOpen).Show
So far, so good.
The only problem is that a file with dates in the format ‘dd/mm/yyyy’ automatically convert to ‘mm/dd/yyyy’ format. But, the File | Open dialog method of opening the same file (not with VBA) will open the file and display date formats exactly as expected, i.e. ‘dd/mm/yyyy’
The Windows Regional Settings are for ‘dd/mm/yyyy’.
I cannot understand why the change occurs just because the dialog box was invoked with VBA code.
Any suggestions?
TIA, Leigh