Application.OnTime Now + (TimeValue("00:00:01") / 1000), "increment_count"
increment count using interval timer
-
21-06-2023 - |
Pregunta
I currently have a macro that has a built in timer that i have coded, and after a set interval it calls a subroutine "increment_count". increment count is a subroutine that just counts up. I was wondering, is it possible for me to use milliseconds? i have tried adding another colon and then milliseconds but it did not seem to work, why? Please help
Sub StartTimer()
Application.OnTime Now + TimeValue("00:00:30"), "increment_count"
End Sub
Thank You
Solución
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow