someone sent me this code to accomplish a similar goal. you may find it useful:
assume 3 workbooks called bill, mary and arthur. each has a sheet called "1" [saves my typing!] and each has columns called Person Account Date and Value.
In a fourth workbook use >data >import external data > new database query. select Excel files as the data source. Click on the SQL button and type..
SELECT `'1$'`.Person, `'1$'`.Account, `'1$'`.Date, `'1$'`.Value
FROM `C:\bill`.`'1$'` `'1$'`
union all
SELECT `'1$'`.Person, `'1$'`.Account, `'1$'`.Date, `'1$'`.Value
FROM `C:\arthur`.`'1$'` `'1$'`
union all
SELECT `'1$'`.Person, `'1$'`.Account, `'1$'`.Date, `'1$'`.Value
FROM `C:\mary`.`'1$'` `'1$'`
Bookmarks