-
-
Save kumatti1/166c2d72dc386b5f9f17 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dim TimeOut As Date | |
Dim flg As Boolean | |
flg = False | |
TimeOut = Now + TimeSerial(0, 0, 10) | |
Do While ie.busy | |
DoEvents | |
Sleep 100 | |
If Now > TimeOut Then | |
flg = True | |
Exit Do | |
End If | |
Loop | |
If flg Then | |
ie.stop | |
ie.Refresh | |
End If |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment