title: vba click a website button
body: <p>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.</p>
  
  <pre><code> '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
  </code></pre>