title: How would you click an I'm Not a Robot checkbox with visual basic?
body: <p>Is it possible to use visual basic to click an I'm Not A Robot checkbox using visual basic. </p>
  
  <p><a href="https://i.stack.imgur.com/EOCUm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EOCUm.png" alt="enter image description here"></a></p>
  
  <p>Here's the code I tried:</p>
  
  <pre><code>ie.Document.getElementById("recaptcha-checkbox-checkmark").Click
  </code></pre>
  
  <p>The above code was used after creating an ie Object as follows:</p>
  
  <pre><code>Sub DoBusinessSearch()
      Dim strResults As String
      Dim ofacname As String
      ofacname = Excel.Range("Company").Value
      Application.ScreenUpdating = True
  
      Set ie = CreateObject("InternetExplorer.Application")
      ie.Visible = True
      ie.Navigate "https://mycpa.cpa.state.tx.us/coa/Index.html"
      ie.Fullscreen = True
      Application.StatusBar = "Submitting"
      ' Wait while IE loading...
      While ie.Busy
          DoEvents
      Wend
      ' **********************************************************************
      delay 1
      ie.Document.getElementById("entityName").Value = ofacname
      delay 1
      ie.Document.getElementById("recaptcha-checkbox-checkmark").Click
      delay 1
      ie.Document.getElementById("search").Click
      Application.SendKeys "(%{1068})"
  
      '**********************************************************************
  </code></pre>