Hi Dan Mackman
OK, Quick VBA lesson.
This is the line that selects the sheet.
Month returns a numeric value - 7 for July - and can be coerced to show the month (ie to a user), but VBA will always read it back to itself as a number, so it can't recognise the sheet names.
Therefore, it will add 1 to the month number (7) and find the eighth sheet along. As you have inserted 2 more sheets before the month tabs, you will have to add 2 to that 1, so the new line becomes :
See, it's not that bad, is it ...
HTH
DominicB
Bookmarks