VBA: Push Button in Webform code

L_123
L_123 ✭✭✭✭✭✭
edited 01/20/20 in API & Developers

All: this is to share/record a way to push the submit button in a smartsheet webform using vba. I share this because I spent way more time trying different options posted on different websites than I would like to admit.


Dim IE As Object

Set IE = CreateObject("InternetExplorer.application")

IE.navigate "www.smartsheet.com/formurl"

IE.Document.querySelector("button[type=submit]").Click


Comments