Hi all,
I have a macro which clycles through a folder of CSV files making changes (normally deleting rows of columns).
I'd like to adopt it instead to reformatting in place (if possible), or copying/paste special with a formula similiar to =TEXT(D2,"YYYY-MM-DD) which works outside of VBA.
The dates to be reformatted will always be in column D (starting at D2), however the number of rows will vary.
From past experience I know that CSV files don't interpret dates as text and after the change is make should it be re-opened it will display as per my regional settings, but the next person to view will be doing so via a text editor and the change should be sufficient for the formatting to stick.
The following code is about as far as I've managed to get, could anyone add anything to it?
Please Login or Register to view this content.
Please Login or Register to view this content.
Bookmarks