Sevn
I trust ME!
- Local time
- Yesterday, 22:23
- Joined
- Mar 13, 2008
- Messages
- 97
Hello All,
I am average when it comes to VBA, and I am mostly self taught.
What I need to do is automate a daily import process from daily DB exports.
Here is what currently happens:
The only option I can think of is to import everything, and remove unwanted columns. Although this seems like a lot of unnecessary processing for the few fields that I need.
If anyone has any suggestions, please let me know.
I am average when it comes to VBA, and I am mostly self taught.
What I need to do is automate a daily import process from daily DB exports.
Here is what currently happens:
- I receive daily exports of several different DB grids (3 total). These exports are in CSV format, with every field from the main DB grid.
- I use the import wizard to import the fields that i need (Only need about 20% of the ~156 columns contained in each CSV).
- I would like to import these using VBA, but can't seem to find any sample code for skipping unwanted columns. I have found some examples of Range importing, but the columns I need are scattered throughout the worksheet (A:C, F:R, AB:AC, etc.).
The only option I can think of is to import everything, and remove unwanted columns. Although this seems like a lot of unnecessary processing for the few fields that I need.
If anyone has any suggestions, please let me know.