Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 42441

MsOf10 VBA IE9 Automation: forms

$
0
0
Hi all,
I'm running into an issue with an automation task and was hoping for some help. Everywhere else I've been able to use pushButtonSubmit or pushButtonClick but in this case they haven't worked. I'm trying to "click" Save but I can't make it work. I'm working in Excel 2010 with IE 9. Here's the HTML:

<form method="POST" action="APTermsEditHandler.jsp" name="TermsForm">
<input type="submit" name="cancel" value="Back to TXBEF">
<input type="submit" name="save" value="Save">
<input type="submit" name="reload" value="Reload">

I tried:
ie.Document.forms(0).all(Save).Value = "save"
ie.Document.forms(0).submit

...but that just changed the name of the button.

Any ideas?

Thanks,
Andy

Viewing all articles
Browse latest Browse all 42441

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>