<font face=Courier New><SPAN style="color:#00007F">Dim</SPAN> CountDown <SPAN style="color:#00007F">As</SPAN> <SPAN style="color:#00007F">Date</SPAN><br><SPAN style="color:#00007F">Sub</SPAN> Timer()<br>CountDown = Now + TimeValue("00:00:01")<br>Application.OnTime CountDown, "Reset"<br><SPAN style="color:#00007F">End</SPAN> <SPAN style="color:#00007F">Sub</SPAN><br><SPAN style="color:#00007F">Sub</SPAN> Reset()<br><SPAN style="color:#00007F">Dim</SPAN> count <SPAN style="color:#00007F">As</SPAN> Range<br><SPAN style="color:#00007F">Set</SPAN> count = [A1] <SPAN style="color:#007F00">' A1 contains the number of seconds for the countdown.</SPAN><br>count.Value = count.Value - 1<br><SPAN style="color:#00007F">If</SPAN> count <= 0 <SPAN style="color:#00007F">Then</SPAN><br>MsgBox "Countdown complete."<br><SPAN style="color:#00007F">Exit</SPAN> <SPAN style="color:#00007F">Sub</SPAN><br><SPAN style="color:#00007F">End</SPAN> <SPAN style="color:#00007F">If</SPAN><br><SPAN style="color:#00007F">Call</SPAN> Timer<br><SPAN style="color:#00007F">End</SPAN> <SPAN style="color:#00007F">Sub</SPAN><br><SPAN style="color:#00007F">Sub</SPAN> DisableTimer()<br><SPAN style="color:#00007F">On</SPAN> <SPAN style="color:#00007F">Error</SPAN> <SPAN style="color:#00007F">Resume</SPAN> <SPAN style="color:#00007F">Next</SPAN><br>Application.OnTime EarliestTime:=CountDown, Procedure:="Reset", Schedule:=<SPAN style="color:#00007F">False</SPAN><br><SPAN style="color:#00007F">End</SPAN> <SPAN style="color:#00007F">Sub</SPAN><br></FONT>