I have the following code which displays the correct URL, and populates the fields, when going thru in debug mode but loops when running normally. Somehting simple I guess but I cannot see it.
Private Sub Command1_Click()
Me!WebBrowser0.Navigate "https://www.lexisnexis.com/PowerInvoice"
Loop1:
If Me!WebBrowser0.ReadyState = READYSTATE_COMPLETE Then
Me!WebBrowser0.Document.signinForm.webid.Value = "????"
Me!WebBrowser0.Document.signinForm.Password.Value = "????"
Else
GoTo Loop1
End If
End Sub
Private Sub Command1_Click()
Me!WebBrowser0.Navigate "https://www.lexisnexis.com/PowerInvoice"
Loop1:
If Me!WebBrowser0.ReadyState = READYSTATE_COMPLETE Then
Me!WebBrowser0.Document.signinForm.webid.Value = "????"
Me!WebBrowser0.Document.signinForm.Password.Value = "????"
Else
GoTo Loop1
End If
End Sub