Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
Using Excel 2007 I have a csv file that when opened manually has the correct date format of DD/MM/YYYY When I open the file with VBA, the date format defaults to MM/DD/YYYY, some of the dates come through as text fields. Even importing this through VBA as a text file (with .csv extension) and changing the format to D/M/Y it still comes in as MM/DD/YYYY and some of the fields being text, when I change the extension to ".txt" it imports OK I do not want to have my code renaming the files to .txt in order to get the correct date format Any help on this would be greatly appreciated Regards Raymond Allan |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
file format or file extension is not valid...error message | Excel Discussion (Misc queries) | |||
How can I get date of file creation to XLS cell in date format? | Excel Worksheet Functions | |||
Copy/Paste dates from CSV file - date format error? | Excel Programming | |||
Concatenate error and Date Format Error | Excel Programming | |||
Error:Invalid File format,while opening an Excel Template file | Excel Programming |