Good afternoon,
I am looking to create a VBA code that will run append Excel data to the database to which it fits. Below is sample code to help me explain what I would like:
<tbody>
</tbody>This data contains different months (as shown by 10.16, 11.16, 12.16 currently). These months are subject to change, as the next set of data that we get could include 01.17 and so on. We have created a MASTER database for each month's data. We would like to take this new data and append it to the master database for that month.
Currently, I run an Excel macro that creates a new tab containing all of the months/years that need to be updated. Then, it filters the data by month and imports each month into its own worksheet. The new tab is just a list in column A of the tab "Dates":
<tbody>
</tbody>
Is there any way I can have Access read this tab and know to run an unmatching/append query to the corresponding Master Access Database? All of the tabs have the same columns so it should make this an easier feat, but I'm not sure how to approach it. I know how to make unmatching/append queries but I'm struggling on making it read the list and make it dynamic to update based on the new months/years that the data has.
Let me know if I can clarify anything, all help and comments are appreciated!!
I am looking to create a VBA code that will run append Excel data to the database to which it fits. Below is sample code to help me explain what I would like:
Date | Unique ID | Bundle | Company |
10.16 | 123 | 555 | 00112 |
11.16 | 124 | 444 | 00113 |
10.16 | 125 | 333 | 00114 |
12.16 | 126 | 555 | 00115 |
10.16 | 127 | 666 | 00113 |
11.16 | 128 | 888 | 00117 |
10.16 | 129 | 999 | 00112 |
12.16 | 130 | 444 | 00112 |
10.16 | 131 | 555 | 00117 |
11.16 | 132 | 333 | 00113 |
10.16 | 133 | 123 | 00112 |
12.16 | 134 | 456 | 00117 |
10.16 | 135 | 789 | 00117 |
11.16 | 136 | 321 | 00115 |
10.16 | 137 | 654 | 00117 |
12.16 | 138 | 987 | 00113 |
10.16 | 139 | 456 | 00115 |
11.16 | 140 | 987 | 00112 |
10.16 | 141 | 123 | 00115 |
12.16 | 142 | 555 | 00113 |
<tbody>
</tbody>
Currently, I run an Excel macro that creates a new tab containing all of the months/years that need to be updated. Then, it filters the data by month and imports each month into its own worksheet. The new tab is just a list in column A of the tab "Dates":
Dates |
10.16 |
11.16 |
12.16 |
<tbody>
</tbody>
Is there any way I can have Access read this tab and know to run an unmatching/append query to the corresponding Master Access Database? All of the tabs have the same columns so it should make this an easier feat, but I'm not sure how to approach it. I know how to make unmatching/append queries but I'm struggling on making it read the list and make it dynamic to update based on the new months/years that the data has.
Let me know if I can clarify anything, all help and comments are appreciated!!