Hi there,
I want login but all I get is going to the website, no login/password is beeing put.
What should I change?
I want login but all I get is going to the website, no login/password is beeing put.
What should I change?
Code:
Sub Test()
Set IE = CreateObject("InternetExplorer.application")
IE.Visible = True
IE.navigate ("http://kranlux.pl/admin/products/add")
Do
If IE.ReadyState = 4 Then
IE.Visible = False
Exit Do
Else
DoEvents
End If
Loop
IE.Document.forms(0).all("login").Value = "login"
IE.Document.forms(0).all("password").Value = "haslo"
IE.Document.forms(0).submit
End Sub