Dear all,
I have created an excel which transform my xls file into a csv according with header needs.
One of the values that I need to export on my CSV is the date which on my xls file is DD/MM/YYYY, but when I export it for an CSV file it become MM/DD/YYYY
below the line where I export the date into the CSV file:
cs.Range("E2") = bs.Range("D8").Value 'Date
so basically I'm directly passing the value of my D8 cell into the E2 destination CSV file.
I tried to change .Value to .Text(date, "DD/MM/YYYY"), but I have a mismatch error.
Any tips to overcome this issue?
Thank you in advance,
Bookmarks