GUIDO22
Registered User.
- Local time
- Today, 15:32
- Joined
- Nov 2, 2003
- Messages
- 515
Hi
I have a CSV file with a number of records therein.
I import the file into Access and I DROP all unwanted columns.
But, I also need to add a couple of columns too.
Here is a summary of the tasks I need to complete...
1) ADD a date (simple enough) column - but I specifically need the date in the following format :dd-mm-yyyy (note the - seperator is not the default '/' character)
2) I also need to physically move one of the new columns that I have added (which is appended to the rightmost column) and place it to the immediate left such that it becomes the first column in the table
3) I need to force the default table order to critiera that I stipulate
4) I then need to output the table to CSV file again.
Oh, did I mention I need to do all of this from VBA code.....
Such that I can have all this in a module to run on a single button press.
Thanks in advance for any suggestions how to accomplish.
I have a CSV file with a number of records therein.
I import the file into Access and I DROP all unwanted columns.
But, I also need to add a couple of columns too.
Here is a summary of the tasks I need to complete...
1) ADD a date (simple enough) column - but I specifically need the date in the following format :dd-mm-yyyy (note the - seperator is not the default '/' character)
2) I also need to physically move one of the new columns that I have added (which is appended to the rightmost column) and place it to the immediate left such that it becomes the first column in the table
3) I need to force the default table order to critiera that I stipulate
4) I then need to output the table to CSV file again.
Oh, did I mention I need to do all of this from VBA code.....
Such that I can have all this in a module to run on a single button press.
Thanks in advance for any suggestions how to accomplish.