-
Access VBA sign into web URL
Trying to get some VBA code I found here to work and am not having any luck. I get "Run Time Error 91 - Object variable or with block variable not set"
Here is the code.....
Private Sub Command0_Click()
Set ie = CreateObject("InternetExplorer.Application")
With ie
.Visible = True
.Navigate "https://etrax.datamatx.net/signon.asp"
Do Until .ReadyState = 4
DoEvents
Loop
.Document.all.Item("loginUserName").Value = "username"
.Document.all.Item("loginUserPassword").Value = "password"
.Document.Forms(0).submit
End With
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules