The data no longer starts at row 1, so we can't just autofilter the whole sheet anymore, can we? The .Cells reference filters the whole sheet, we need to specifically filter from B11 now. See, I told you people like to move things around, I didn't think that would include the DATA sheets... hehe... I'll make that part self-adjusting, too, so you can start the data anywhere on the source sheets, too.
Here's the adjusted code, once installed and working in one sheet, you can simply duplicate the sheet and rename it to get an instantly working new version.
Note, I changed the copy command to "values only", so as you move things around (I noticed each sample employee sheet had the chart in a different spot, which is fine)...make sure the date columns are formatted as dates.
You can go ahead and put your desired formatting back in place on those employee sheets.
WARNNG: While I was working on your sheet, it ballooned up to 10Mb for no reason. This "bloat" is attributed to applying cell formatting and/or conditional formatting to entire worksheets, so it is not a good idea. I would suggest you reign that in a bit.
Bookmarks