In my quest to write something that would
1.copy a template to a new sheet
2.Rename the sheet to the current month and day (MMM-DD)
3 Add to the date a sequencial number if another sheet were created on the same day
The code appears to work in isolation but but fails in two respects
1. If only the template sheet exists in the workbook sequencial numbering begins with '1'.'MMM-DD-1'
but if other sheets exists the numbering starts with the number of other sheets plus 1.
I.E. if 'Template' and another sheet 'X' exists, the macro will copy the template and name it
'MMM-DD-2 rather than 1. That sequence will continue with 2..3..etc.
2. The other problem is that when the day changes the number sequence continues from the previous day rather
than resetting with the new date as I would like.
I understand the problem is that the macro is focused on the sheet number rather than the number of copies of the template on a given date, I just don't know how to address the issue.
Thanks in advance
Scott
Bookmarks