My code works! BUT... always a but. It selects the very first link im searching for on the page.. which is MY own. Mines always the top of the list, how do I make it skip and click the second ( or third or fourth for that matter) instance?
I triedBut that didnt seem to work.Code:holder = InStr(2, IExp.Document.all.Item(i).href, "player_id?=")
any help would be awsome. thanks!.. here is a snippet.
looking for help to make it skip the first instance and click the 2second instead.Code:For i = 0 To 2000 ' iexp.document.all.length holder = 0 On Error Resume Next holder = InStr(IExp.Document.all.Item(i).href, "player_id?=") On Error GoTo 0 If holder > 0 Then IExp.Document.all.Item(i).Click Do Until IExp.ReadyState = 4 DoEvents Loop Sleep 4000




Reply With Quote