Merge multipe datasources via query

UberFrank

Board Regular
Joined
Jul 8, 2010
Messages
51
Hi, I'm fairly new to querys.

I have 11 identical workbooks named issuelog0 - 10

They all have a sheet with the named range "Archive".

All the datasources have been established and I can independantly create a query table for each.

What i would like to do is union merge all of these sources into one table only. However, there seems to be no reference in he SQL code to the datasource so i do not know how to go about this without running all the querys on different sheets and then usig a seperate workbook to merge those tables?

Can anyone help me out here, is this even possible in Excel?

This is the Query for one table

Code:
SELECT Archive.`Job Number`, Archive.PostCode, Archive.Issue, Archive.`Sub Issue`, Archive.Comments, Archive.User, Archive.`Date/Time`, Archive.`Logged By`
FROM Archive Archive

May thanks
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).

Forum statistics

Threads
1,215,840
Messages
6,127,219
Members
449,370
Latest member
kaiuuu

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top