Sample HTML function that reloads a Web page or HTA.

Visual Basic
Edit|Remove
Sub RunScript
    Location.Reload(True)
End Sub