Hi all,
I'm currently running a simple script which saves the current Excel worksheet as a csv file.
Here is the code:
I am getting a problem with this in that I require all dates to be saved in the csv as they are shown in the Excel sheet (UK format) i.e. 24/09/2005
However, 24/09/2005 is coming out in the csv file as 9/24/2005.
Is there anything I can do to stop this? I use the same code on other spreadsheets and it works fine! Any ideas anyone?
Thanks,
Woody
I'm currently running a simple script which saves the current Excel worksheet as a csv file.
Here is the code:
Code:
ActiveWorkbook.SaveAs Filename:= _
"J:\Projects\Header.csv", FileFormat:=xlCSV, _
CreateBackup:=False
I am getting a problem with this in that I require all dates to be saved in the csv as they are shown in the Excel sheet (UK format) i.e. 24/09/2005
However, 24/09/2005 is coming out in the csv file as 9/24/2005.
Is there anything I can do to stop this? I use the same code on other spreadsheets and it works fine! Any ideas anyone?
Thanks,
Woody