Skip to content

Instantly share code, notes, and snippets.

@ndthanh
Created January 20, 2017 11:31
Show Gist options
  • Save ndthanh/e297d360d1c606c4c46f0115fbdd534d to your computer and use it in GitHub Desktop.
Save ndthanh/e297d360d1c606c4c46f0115fbdd534d to your computer and use it in GitHub Desktop.
Sub WaitFor(NumOfSeconds As Single)
Dim SngSec As Single
SngSec = Timer + NumOfSeconds
Do While Timer < SngSec
DoEvents
Loop
End Sub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment