lundi 19 juillet 2021

Clicking button on webpage using VBA

I wish to click a button using vba.

The source code of the webpage is below:

<input type="submit" id="edit-submit" name="op" value="Check sort code" class="ajax-processed"> </pre>

I have tried ie.document.getelementbyID("edit-submit").click but it is not working.

I have tried preceding it by ie.document.getelementbyID("edit-submit").fireevent ("onclick") but this is also not working.

Any help would be greatly appreciated.




Aucun commentaire:

Enregistrer un commentaire