Public Sub basDelaySec(ByVal Seconds As Long)
Dim dtmDate as Date
dtmDate = DateAdd("s", Seconds, Now)
Do
DoEvents
Loop Until Now > dtmDate
End Sub
Public Sub basDelaySec(ByVal Seconds As Long)
Dim dtmDate as Date
dtmDate = DateAdd("s", Seconds, Now)
Do
DoEvents
Loop Until Now > dtmDate
End Sub