Hi All...Happy New Year!
I've searched around and cannot seem to find a solution to this issue...I've been able to use VBA to fill in the login and password text boxes, but can't figure out how to click the button underneath them.
Using the code below, I get the following error message:
Run-time error 91:
Object variable or with block variable not set
Here is my code:
Here is the HTML for the submit button:
Can anyone help? I'm sure I'm overlooking something obvious...
</PRE>
I've searched around and cannot seem to find a solution to this issue...I've been able to use VBA to fill in the login and password text boxes, but can't figure out how to click the button underneath them.
Using the code below, I get the following error message:
Run-time error 91:
Object variable or with block variable not set
Here is my code:
Code:
objIE.document.getelementbyid("login").Value = "123456"
objIE.document.getelementbyid("password").Value = "abcdefg"
objIE.document.getelementbyid("submit").Click
Here is the HTML for the submit button:
HTML:
********>document.write("");*********>
Can anyone help? I'm sure I'm overlooking something obvious...
</PRE>