

To stop it, hit Alt + F8 again and select stop_timer and click the Run button. In the window that opens click timer and hit the Run button. Go back to Excel, Alt + F11 and then hit Alt + F8.Now, below all of the code, under where it says End Sub, add this macro:Īpplication.OnTime EarliestTime:=interval, Procedure:="timer", Schedule:=False.Once you see the macro, add this line of code above it:.If it isn't already open, it should be listed in the left pane of the window and it will be called Module1, double-click that. Hit Alt + F11 and then go to the module that you added in the last section.To do this, we need to add just a couple things to our macro. Now that we have a working timer, it's a good idea to be able to stop it. When the timer gets to zero, it will stop. Hit Alt + F11 to go back to Excel and then hit Alt + F8, select the macro timer from the window that opened, hit the Run button, and watch the time count down.So, if you put the timer in cell B6, then replace every instance of A1 with B6 in the code above. Everywhere that you see cell A1 you need to change that to the cell that contains the timer in your worksheet. To do this hit Alt + F11 to go to the VBA Editor window and then look to the menu at the top of the window and go to Insert > Module Now, we add the VBA code and install the macro.The time in the formula bar will look weird but don't pay attention to that it doesn't matter. Delete what appears in the cell by default and type your number like this:

The first set of zeros is for hours, the second set for minutes, and the third set for seconds.

