I'm trying to click the "Google Search" button on google's homepage.
The source code from google.com:
In my VBA, I have:
[Insert A1's value such as "cats" into the Google search bar - works]
A strange thing about this is that, sometime is Would actually click and other times (more often than not) it Would NOT click. Appreciate any suggestions
The source code from google.com:
Code:
<input value="Google Search" aria-label="Google Search" name="btnK" type="submit" jsaction="sf.chk">
In my VBA, I have:
Code:
Dim v As Object
[Insert A1's value such as "cats" into the Google search bar - works]
Code:
v.document.getElementsbyname("btnK")(0).Click
A strange thing about this is that, sometime is Would actually click and other times (more often than not) it Would NOT click. Appreciate any suggestions