jeudi 25 avril 2019

Troubling an Issue with Auto filling up the Web form via Macro (VBA)

I am working on Auto web form filling , But get stuck when my code is not Working on the web page where I want to fill up the data.

But currently my code is working on other websites. I don't know why its not working there, and where I am doing this, is running on LF server.

Public Sub Getdata()
Dim ie As Object
Dim doc As HTMLDocument

Set ie = CreateObject("InternetExplorer.Application")



ie.Visible = True

ie.navigate "https://en-gb.facebook.com/"


Do

DoEvents

Loop Until ie.ReadyState = 4


ie.document.getElementById("USERID").Value = "sampleid"

ie.document.getElementById("USPW").Value = "samplepassword"

End Sub


I won't be able share the internal link, where I actually working. But any guess would be helpful, and why its not working. If you required any web side (html) of information them please ask me, i will try to provide you. Thanks in advance.




Aucun commentaire:

Enregistrer un commentaire