Hello all,
I currently have an excel workbook that runs two independent timers on it. Both are very simple: they start from 0 and count up until stopped or reset.
My problem is that this workbook will have one new worksheet for every day of the month, created on that day. The timer only works on day 1 of the month. Once new sheets are created, the timer will only start on the first sheet, even if the button is pressed on Sheet 2 or Sheet 3. I have tried changing the wording to make it refer to the active sheet and similar things, but I can't make it work. Over time, every single sheet will have to have a timer built into it, but only the timer on the active sheet should start counting up when clicked. Right now, as stated, it starts the timer on the very first sheet no matter which sheet I clicked "Start" on. Here is the code I have:
I understand that my code at the moment is referencing the sheet named "Template" which is always the first sheet of the month. Every other sheet after that has code that names it based on the current date. I haven't been able to figure out how to make this work. If I change it to "ActiveSheet.NextTick", or "Me.NextTick", or "ThisWorkbook.NextTick", all of them cause it to fail. I just want the timer to activate on the current sheet.![]()
Please Login or Register to view this content.
I would love some assistance if anyone has ideas!
Thanks in advance!
Bookmarks