Excel VBA - Time loop

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ก.พ. 2025

ความคิดเห็น • 16

  • @TonVermeij
    @TonVermeij 9 ปีที่แล้ว +3

    Terrific! That is what is was searching for!

  • @Gingerbreadaddict
    @Gingerbreadaddict 8 ปีที่แล้ว +3

    Hi, great vid. thanks for posting.
    I'm trying to make it run faster, e.g. call the "main" sub every 1/2 second rather than every 1 second. I tried dividing the "TimeValue("00:00:01")" by 2, but it doesn't work. Any ideas?
    The code I tried was something like this:
    Sub timer()
    Application.OnTime Now() + TimeValue("00:00:01")/2, "main"
    End Sub

  • @3eenab
    @3eenab 7 ปีที่แล้ว

    Thanks a lot. Wish you continued this Excel VBA.

  • @harshilkaswala1886
    @harshilkaswala1886 4 ปีที่แล้ว

    This is what i was looking for Thank you so much!

  • @vksvishwa
    @vksvishwa 4 ปีที่แล้ว

    Thanks a lot. Very effective and simple.

  • @7mrbonline7
    @7mrbonline7 12 ปีที่แล้ว

    How can you make it go faster?

  • @Moh23Moh
    @Moh23Moh 4 ปีที่แล้ว

    Very good but it does accept only integer seconds
    what if i need fractions

  • @BlazeGamingUK4EVER
    @BlazeGamingUK4EVER 4 ปีที่แล้ว

    great video, very informative!

  • @michaelhawkins4169
    @michaelhawkins4169 10 ปีที่แล้ว

    Will the counter continue even when excel is closed?

  • @bongzsmalawu1614
    @bongzsmalawu1614 2 ปีที่แล้ว

    Thanks for this

  • @SuperHanme
    @SuperHanme 4 ปีที่แล้ว

    actually, the timer is still running, when you click the "off". this design model is not correct, because when you click the "On" again, it shows the same times running in the background.

  • @EngineerClearly
    @EngineerClearly  12 ปีที่แล้ว

    I don't know yet :(

  • @quintonballenden1436
    @quintonballenden1436 3 ปีที่แล้ว

    I like that. Thank you

  • @henrifeuga249
    @henrifeuga249 9 ปีที่แล้ว

    Excellent. Thank you so much!

  • @luisrodrigues3110
    @luisrodrigues3110 8 ปีที่แล้ว

    Amazing !!! Thank you very much !!!

  • @oferico1
    @oferico1 9 ปีที่แล้ว

    works well! thanks!