-1
someone knows how to fill a google Forms with vba , I got a few lines but it does not fill everything ,I can fill, no inspect elements appears filled but does not fill in the page
Public Sub ConectaWeb()
On Error Resume Next
Dim endereço As String
Dim mostra As Boolean
Dim i, n, x As Integer
endereço = "https://docs.google.com/forms/d/e/1FAIpQLSc-d6XfqSS_-P2SCRiIJMKU477NPlzFnkjVHe0RqO2DMSc4xA/viewform"
Set IE = CreateObject("InternetExplorer.Application")
IE.navigate (endereço)
While IE.ReadyState <> 4
Wend
IE.Visible = True
IE.document.getElementsByName("entry.666457405")(0).Value = "20"
IE.document.getElementsByName("entry.1010616991")(0).Value = "30"
IE.document.getElementsByName("entry.452700562")(0).Value = "45"
IE.document.getElementsByName("entry.1857809015")(0).Value = "nome"
IE.document.getElementsByName("entry.2073241118")(0).Value = "cargo"
IE.document.getElementsByName("entry.2015582786")(0).Value = "5356645"
IE.document.forms.Item(0).submit
While IE.ReadyState <> 4
Wend
End Sub