Automatic refreshing of your favorite Web Forum

RSXchin

Well-known Member
Joined
Oct 23, 2010
Messages
758
I love MrExcel. But I tire of hitting that refresh button, or F5. So I have written a little script that allows me to sit back and laze about while I wait for feedback.

Rich (BB code):
Sub MrExcel_Refresh()
On Error GoTo 10
Dim IE As Object
    Set IE = CreateObject("Internetexplorer.application")
    With IE
        .navigate "http://www.mrexcel.com/forum/forumdisplay.php?f=10"
        .Visible = True
    End With
    Do
        Application.Wait (Now + TimeValue("0:00:10"))
        IE.Refresh
    Loop
10:
    MsgBox "Program ended"
End Sub

If anyone comes up with some good changes, I'd love to see them.
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Rich (BB code):
Sub MrExcel_Refresh()
On Error GoTo 10
Dim sURL As String
Dim IE As Object
    Set IE = CreateObject("Internetexplorer.application")
    sURL = "http://www.mrexcel.com/forum/forumdisplay.php?f=10"
    With IE
        .navigate sURL
        .Visible = True
    End With
    Application.wait (Now + TimeValue("0:00:05"))
    Do While IE.LocationURL = sURL
        Application.Wait (Now + TimeValue("0:00:20"))
        IE.Refresh
    Loop
10:
    MsgBox "Program ended"
End Sub
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,513
Messages
6,179,214
Members
452,895
Latest member
BILLING GUY

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top