freedive619
New Member
- Joined
- Dec 11, 2017
- Messages
- 2
Hello,
I am having problems logging into a Wells Fargo website. I've tried using codes from this forum but I cannot get my info to entered into the boxes. This is the website and the code i am using...
Option Explicit
Const MyUserID As String = "123701"
Const MyUserName As String = "sdf12345"
Const MyPassword As String = "Tuna2017"
Const READYSTATE_COMPLETE As Integer = 4
Dim objIE As Object
Public Sub LoginScript()
Set objIE = CreateObject("InternetExplorer.Application")
With objIE
.Visible = True
.Silent = True
.navigate ("https://wffnet.wellsfargo.com/ilonline/funding/wff_landingPageFrameSet.jsp")
Do Until .readyState = READYSTATE_COMPLETE
DoEvents
Loop
Application.Wait Now() + TimeValue("00:00:02")
.document.all.MyUserId.Value= MyUserID
.document.all.UserId.Value = MyUserName
.document.all.userLoginPassword.Value = MyPassword
.document.forms(0).submit
Do Until .readyState = READYSTATE_COMPLETE
DoEvents
Loop
Application.Wait Now() + TimeValue("00:00:02")
End With
End Sub
The code works perfectly until it reached the lower half. It's stating it's missing an object. Anyone know how this can be altered?
.document.all.MyUserId.Value= MyUserID
.document.all.UserId.Value = MyUserName
.document.all.userLoginPassword.Value = MyPassword
.document.forms(0).submit
Thanks!!!!!
I am having problems logging into a Wells Fargo website. I've tried using codes from this forum but I cannot get my info to entered into the boxes. This is the website and the code i am using...
Option Explicit
Const MyUserID As String = "123701"
Const MyUserName As String = "sdf12345"
Const MyPassword As String = "Tuna2017"
Const READYSTATE_COMPLETE As Integer = 4
Dim objIE As Object
Public Sub LoginScript()
Set objIE = CreateObject("InternetExplorer.Application")
With objIE
.Visible = True
.Silent = True
.navigate ("https://wffnet.wellsfargo.com/ilonline/funding/wff_landingPageFrameSet.jsp")
Do Until .readyState = READYSTATE_COMPLETE
DoEvents
Loop
Application.Wait Now() + TimeValue("00:00:02")
.document.all.MyUserId.Value= MyUserID
.document.all.UserId.Value = MyUserName
.document.all.userLoginPassword.Value = MyPassword
.document.forms(0).submit
Do Until .readyState = READYSTATE_COMPLETE
DoEvents
Loop
Application.Wait Now() + TimeValue("00:00:02")
End With
End Sub
The code works perfectly until it reached the lower half. It's stating it's missing an object. Anyone know how this can be altered?
.document.all.MyUserId.Value= MyUserID
.document.all.UserId.Value = MyUserName
.document.all.userLoginPassword.Value = MyPassword
.document.forms(0).submit
Thanks!!!!!