Hello all - I would like to run a VBA script that transfers (appends) an Access Query to a designated tab in Excel. Here is the trick i am having a problem with.... The Access query contains a date field called "dateloaded". If this date already exists in the Excel tab i would like to overwrite the excel data, if it does not exist i would like it to append the data to the tab. Here are some of my parameters:
AccessQuery#1: “sqryHires” to write (append) to Excel tab “Hires”
AccessQuery#2: “sqryTerms” to write (append) to Excel tab “Terms”
AccessQuery#3: “sqryTransfers” to write (append) to Excel tab “Transfers”
In the access queries is a single date field: “DateLoaded”
Is that doable using VBA?
Our community of experts have been thoroughly vetted for their expertise and industry experience.
The Distinguished Expert awards are presented to the top veteran and rookie experts to earn the most points in the top 50 topics.