Code to wait 10 seconds ?

  • Thread starter Thread starter Rob
  • Start date Start date
Something like this perhaps:

Dim dbEnd As Date
dtEnd = DateAdd("s", 10, Now())
Do While Now() < dtEnd()
DoEvents
Loop

It might also be possible to use the Timer event of the form.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

.png to .gif with convert tool. 13
Windows 11 is here... 22
How to you place a time delay in access VBA? 4
Outlook Outlook time-based rules 0
Excel Excell .xls File Growing Fast 0
Inserting SSD to new kit 1
outlook 1
time format question 5

Back
Top