Hi,
This was working on another website, but I can't get it to work now. Trying to input username/password on this site and click submit.
<code>
Sub PLineBot()
Dim IE As Object
Dim url As String
Set IE = CreateObject("internetexplorer.application")
IE.Visible = True
url = "https://propertyline.ca/"
IE.navigate url
'wait for page to load
Do
DoEvents
Loop Until IE.readyState = 4
IE.document.getElementById("account").Value = "username"
IE.document.getElementById("password").Value = "password"
IE.document.forms(0).submit.Click
End Sub
</code>
Any ideas?
This was working on another website, but I can't get it to work now. Trying to input username/password on this site and click submit.
<code>
Sub PLineBot()
Dim IE As Object
Dim url As String
Set IE = CreateObject("internetexplorer.application")
IE.Visible = True
url = "https://propertyline.ca/"
IE.navigate url
'wait for page to load
Do
DoEvents
Loop Until IE.readyState = 4
IE.document.getElementById("account").Value = "username"
IE.document.getElementById("password").Value = "password"
IE.document.forms(0).submit.Click
End Sub
</code>
Any ideas?