R
RudyShoe
Okay, I've tried everything that I've been able to dig up on this
forum but haven't had any success. I've been able to log into a
website, select items from a couple of drop downs but i'm hung up at
the submit button on this particular page. No issues using the submit
button on the login page however. The only difference I see between
the submit button on the login page and the submit button on the drop
down page is that the drop down page submit button has an 'onClick'
statement. The login page didn't have this.
I've tried the following....
ie.document.all.Item("welcome").submit <---'welcome' is the
name of the form
* I receive a 'Action code not submitted' error on the webpage. I'm
assuming this is occuring since i'm not actually clicking the submit
button.
I've also tried.....
Set ipf = ie.document.all.Item("submit")
Call ipf.Click()
* I receive a 'Run-time error '91': Object variable or With block
variable not set' error
Here's a snippet from the website...
<INPUT TYPE="submit" VALUE="Submit"
onClick="process_form(document.welcome.DATABASE.selectedIndex,
document.welcome.ACTION.selectedIndex, 'i.web', 'ipre-ssl.web', 'no',
'')">
Any ideas?
Thanks,
Scott
forum but haven't had any success. I've been able to log into a
website, select items from a couple of drop downs but i'm hung up at
the submit button on this particular page. No issues using the submit
button on the login page however. The only difference I see between
the submit button on the login page and the submit button on the drop
down page is that the drop down page submit button has an 'onClick'
statement. The login page didn't have this.
I've tried the following....
ie.document.all.Item("welcome").submit <---'welcome' is the
name of the form
* I receive a 'Action code not submitted' error on the webpage. I'm
assuming this is occuring since i'm not actually clicking the submit
button.
I've also tried.....
Set ipf = ie.document.all.Item("submit")
Call ipf.Click()
* I receive a 'Run-time error '91': Object variable or With block
variable not set' error
Here's a snippet from the website...
<INPUT TYPE="submit" VALUE="Submit"
onClick="process_form(document.welcome.DATABASE.selectedIndex,
document.welcome.ACTION.selectedIndex, 'i.web', 'ipre-ssl.web', 'no',
'')">
Any ideas?
Thanks,
Scott