I have a dilema.....
I have "inherited" a large database that requires ALOT of manual importing/copying/appending.... you get the idea. I would like to automate the daily updating using vba, but am fairly new to vba.
The current process.... Save data as an excel file (i.e. 1A1temp.xls, 1A2temp.xls, etc.) which are set up as linked tables from a specific folder. Run a query to format (because the system the data is coming from was reconfigured mid-year, so a main data type changed from 9 digits to 12 digits).
Select any new records from the format (based on date) and copy them, then paste append them into the existing table, which most of the queries are based off of.
and finally.... run an update query to update any existing records that may have changed since the last time this was done.
Confused yet?
Basically, the main tables (1A1tbl, 1A2tbl) are existing tables that data is added to each morning. This data can, and often does, change throughout the year, so to be accurate, any existing data must be updated each day.
There are no primary keys on any of the tables. Each "xxxtemp.xls" file has the same layout and fields as its corresponding table.
The data that is saved in excel is only from the previous day, month or 3 month period.
Being new to vba, is this something vba would be good for, and if so, how?
Any and all help; would be greatly appreciated..... Thanks