Hi
Try this I think it works!
I`ve made a few assumptions, that you wanted to line up the data based on first month, months will always be consecutive, that you didn`t need subtotals just a grand total for each sheet, the first 4 column headings on the data sheets are NAME, TYPE, EQUIP, PROJECT but they were NAME, TYPE, HOURS, PROJECT on the consolidation sheet so I changed the consolidation sheets.
I`ve tidied up the getdata sub quite a bit, removing reliance on the activeworkbook / cell as much as possible, could probably be improved further I.e. get rid of reliance on workbook level variables.
I think you should try to improve the error handling to only trap the specific file not found error
Regards
Ian
Changed/Added code
Bookmarks