S
Shaka215
Hi everyone!
I was hoping to get some feedback on how to get a macro to run every 5
seconds and turn it's self off when it's done doing what it has to?
What I am trying to do is get a webbrowser object to refresh it's self
every 5 seconds...but I need it so that someone can still use the
userform I created instead of causing Excel to lockup ever 5
seconds... I tried the following code...
Private Sub UserForm_Activate()
Do Until Now = Now + TimeValue("00:00:05")
WebBrowser1.Navigate ("C:\www.Cnn.com")
Loop
End Sub
Any ideas would be greatly appreciated.
Thank you!
I was hoping to get some feedback on how to get a macro to run every 5
seconds and turn it's self off when it's done doing what it has to?
What I am trying to do is get a webbrowser object to refresh it's self
every 5 seconds...but I need it so that someone can still use the
userform I created instead of causing Excel to lockup ever 5
seconds... I tried the following code...
Private Sub UserForm_Activate()
Do Until Now = Now + TimeValue("00:00:05")
WebBrowser1.Navigate ("C:\www.Cnn.com")
Loop
End Sub
Any ideas would be greatly appreciated.
Thank you!