Timing Delays in VBA

后端 未结 12 2242
陌清茗
陌清茗 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:02

    Access can always use the Excel procedure as long as the project has the Microsoft Excel XX.X object reference included:

    Call Excel.Application.Wait(DateAdd("s",10,Now()))
    

提交回复
热议问题