I have a sheet template that calculates payroll information for a large group of employees. This template is populated and saved twice per day (one sheet for AM, one for PM) and one workbook is created per week (for a total of 14 sheets per week). I have workbooks created for every week of the year. Within this template is a small table (always in the same cells). I would like to import this table from each sheet (and from each workbook) to a single sheet that i can clean up and import into SPSS. Additionally, it would be nice if I could add columns showing the workbook file and sheet name from which came each row of data. The imported tables should be stacked one after another
I know for any given cell, I can use ='[Filename]SheetName'!Cell, but I haven't figured out how to automate this process for 30ish workbooks. Additionally, I can't figure out how to add the filename or sheetname as new columns and populate in the cells.
I really hope this makes sense. Happy to answer questions to help anyone understand what I'm asking for.![]()
Bookmarks