Exporting Multiple Queries to Excel WITHOUT Overwriting Data

DaneS

Registered User.
Local time
Today, 03:57
Joined
Nov 15, 2012
Messages
16
Hello,

Here is my setup. I have one Master Table containing data from multiple departments. I have 5 queries, one for each department, that sort my data. My goal is to take the average of one column from each query and export them to an excel spreadsheet.

The spreadsheet would look something like this:

Date | Avg Department #1 | Avg Department #2 | etc etc etc.


I'm looking at bob larson's website but I'm not well versed in VBA coding. I've also tried to put all 5 averages onto one query but it's just too complicated of a procedure. Any more than 3 of the 5 values causes the code to run forever.

Any help would be much appreciated. Thanks!

-Dane

Edit: I forgot to mention that I also want to do this process once a week, every Monday. This means when the file exports, I need excel to insert the data into a different row each time.
 
Maybe this belongs in the Query section?
 
So I've managed to create the query I wanted, but I'm still having trouble exporting the table to an excel sheet while keeping the previous data on that sheet. Any ideas?
 

Users who are viewing this thread

Back
Top Bottom