Hi Guys,
I have been looking through the forums and I have found some code that I have been able to modify to “almost” perform the task I am trying to complete.
My stumbling block is in a date format.
The code I am using is exporting the contents of a single sheet and writing it as a CSV file.
The user would write the date in the DD/MM/YYYY format, this is then sent (with other data) to another sheet in the same workbook, to 2 other locations, G1 in DDMMYYYY format and H1 in MMYYY format (both without the (/) forward slash in the cells but with the / in the formula bar.
When the data is sent to the CSV file the dates appear as #DD/MM/YYYY# and #MM/YYYY#.
How can I get VBA to send these dates as DDMMYYY & MMYYYY without the / to the CSV file?
Thanks
Tina
Bookmarks