Hello
I've had success accessing some user / password protected web sites with the following code but this website has got me scratching my head. I'm sure its an old problem but I can't find an existing forum conversation that helps. I got the element names from the webpage source code and wondering what I'm doing wrong.
Can anyone help please?
Many thanks in advance
Sub pwsite()
Set ie = CreateObject("InternetExplorer.Application")
With ie
.Visible = True
.Navigate "https://www.bloodhound.net.au/"
Do Until .ReadyState = 4
DoEvents
Loop
ie.Document.all("user_id").Value = "uuuuuuuu"
ie.Document.all("password").Value = "ppppppppp"
ie.Document.all("login").Click
End With
End Sub
I've had success accessing some user / password protected web sites with the following code but this website has got me scratching my head. I'm sure its an old problem but I can't find an existing forum conversation that helps. I got the element names from the webpage source code and wondering what I'm doing wrong.
Can anyone help please?
Many thanks in advance
Sub pwsite()
Set ie = CreateObject("InternetExplorer.Application")
With ie
.Visible = True
.Navigate "https://www.bloodhound.net.au/"
Do Until .ReadyState = 4
DoEvents
Loop
ie.Document.all("user_id").Value = "uuuuuuuu"
ie.Document.all("password").Value = "ppppppppp"
ie.Document.all("login").Click
End With
End Sub