¤À¨É
Timer-Counter.rar (13.12 KB)
- Sub Start_Timer()
- Application.OnTime Now + TimeValue("00:00:01"), "Increment_count"
- End Sub
- Sub Increment_count()
- Range("A3").Value = Range("A3").Value + 1
- Start_Timer
- End Sub
- Sub Stop_Timer()
- Application.OnTime Now + TimeValue("00:00:01"), "Increment_count", schedule:=False
- End Sub
½Æ»s¥N½X |