Guest User

Untitled

a guest
Mar 19th, 2018
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. Do Until (ie.readyState = 4 And Not ie.Busy)
  2. DoEvents
  3. Loop
  4.  
  5. If Mid(link.href, 8, 22) = "EnergiaNaturalAfluente" Then
  6. i = i + 1
  7.  
  8. With iefat
  9. .Visible = bMostrarNavegador
  10. .navigate link.href
  11. End With
  12.  
  13. Do Until (iefat.readyState = 4 And Not iefat.Busy)
  14. DoEvents
  15. Loop
  16. link.Click
  17. If i = 2 Then Exit For
  18. End If
Add Comment
Please, Sign In to add comment