Alright, I was finally able to do text input into the boxes...
Code:
WfC.Document.frames(0).Document.all.Item("username").Value = User
WfC.Document.frames(0).Document.all.Item("password").Value = Pass
So the text input is working... Now I am trying to do something completely different..
You see User and Pass, well those are pulled off a linked table, if 'Neon Impact' is not available, it raises error 94. I would like the error handler to build that row or column on this table and have the the chrWebTools= Neon Impact
Code:
Sub ImpactNeon()
Dim neon As InternetExplorer
Dim Left, Right As InternetExplorer
Dim User, Pass As String
On Error GoTo Buildrow
User = DLookup("[chrWebuser]", "tblWebCreds", "chrWebTools='Neon Impact'")
Pass = DLookup("[chrWebpass]", "tblWebCreds", "chrWebTools='Neon Impact'")
Set neon = Login("Websitehere", True)
Call SleepIE(neon)
neon.Document.frames(0).Document.all.Item("name").Value = User
neon.Document.frames(0).Document.all.Item("password").Value = Pass
PauseApp 2
neon.Document.frames(0).Document.all.Item("button-Login").Click
Buildrow:
If Err.Number = 94 Then
MsgBox "got the error"
This is where I can have the code create that row to the table.... then I can do a quick message and
have that table open so they can enter their creds for future use.
End If
End Sub