Hi Kirk,
One way is to start by using File|Get External Data|Link to create a
linked table connected to the spreadsheet. Then use an append query with
a calculated field containing the file name to move the data into your
main table.
So if the spreadsheet has column headings AA, BB and CC, and your main
table has fields FileName, AA, BB, CC, the SQL view of the append query
will be something like this:
INSERT INTO MainTable
SELECT "Filename.xls" AS FileName, AA, BB, CC
FROM LinkedTable;
Or you can cut out the linked table by writing an append query that gets
its data directly from the spreadsheet, using syntax like this:
INSERT INTO MainTable
SELECT "Filename.xls" AS FileName, AA, BB, CC
FROM [Excel 8.0;HDR=No;Database=C:\MyWorkbook.xls;].[Sheet1$];