Logging into a website

J

Jackblack1

I have some code below that logs in to a website, I need to figure ou
how to create a popup box that I manully enter in the password, (th
password changes ever minute).

Next, once I log in I have a tab that must be clicked on calle
Reporting(it is the second tab) How do I write the code so that the ta
is selected and submitted.


Sub test()
Set ie = CreateObject("InternetExplorer.application")
ie.Visible = True
ie.navigate ("https://webid.gs.com/V4/login.cgi)
Do
If ie.readyState = 4 Then
ie.Visible = True
Exit Do
Else
DoEvents
End If
Loop

ie.document.forms(0).all("Username").Value = "example"
ie.document.forms(0).all("Password").Value = "example"
ie.document.forms(0).submit

End Sub


thanks

Ji
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top