Is it possible to use visual basic to click an I'm Not A Robot checkbox using visual basic.
Here's the code I tried:
ie.Document.getElementById("recaptcha-checkbox-checkmark").Click
The above code was used after creating an ie Object as follows:
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})"
'**********************************************************************