I have some code that used to work fine, but for some reason it has stopped selecting the tab that says "your leagues". The code pulls live football scores into excel. The only bit I need help with is where I need to navigate from all games to your leagues (the code does not recognize the button and so is not clicking it). Any help will be appreciated. Thanks.
'Define Variables
url = "http://www.futbol24.com/Live/livenow/"
'Open url
ie.Visible = False
ie.Navigate url
frmbusy.lbstatus.AddItem "Navigating to Web Page"
busywait
'Navigate from ALL Games to Your Leagues
Set tagname = ie.Document.getelementsbytagname("*")
For z = 0 To tagname.Length - 1
If tagname(z).ID = "f24com_i18n_btnChooseLeague_your" Then
tagname(z).Click
busywait
End If
Next
f24com_btnChooseLeague_yourdoes not exist.ie.Document.getElementByID("f24com_i18n_btnChooseLeague_your")if your version of IE supports that method, then you won't need thezloop as that will directly handle the element. You may need to manipulate the parent element somehow but i can't really tell for sure.