Timing Delays in VBA

后端 未结 12 2208
陌清茗
陌清茗 2020-11-28 13:48

I would like a 1 second delay in my code. Below is the code I am trying to make this delay. I think it polls the date and time off the operating system and waits until the

12条回答
  •  有刺的猬
    2020-11-28 14:04

    The Timer function also applies to Access 2007, Access 2010, Access 2013, Access 2016, Access 2007 Developer, Access 2010 Developer, Access 2013 Developer. Insert this code to to pause time for certain amount of seconds

    T0 = Timer
    Do
        Delay = Timer - T0
    Loop Until Delay = 1 'Change this value to pause time in second
    

提交回复
热议问题