dantheman9
Board Regular
- Joined
- Feb 5, 2011
- Messages
- 175
Hi i can't seem to work out how to fit this For code inside an If statement without vba complaining about it.
Code:
If oldhtml <= cellhtml And Timerun > oldtime then
For i = 0 To internetpage.Count -1
If InStr(1,internetpage(i).Document.Title, "Test") > 0 Then
internetpage(i).refresh
End If
Exit For
oldtime = Currtime
End If ' End If without Block if error