Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Initiate a "click" on a web page using VBA

Status
Not open for further replies.

baltman

Technical User
Mar 5, 2002
1,578
US
I am trying to write some code that navigates me through several web pages and I'm stuck on one last piece of code.

I want to simulate a "click" on a button where the type=submit. There are several such buttons on the page and code such as: Object.Document.Form.Submit doesn't seem do do anything but refresh the page.

Can anyone point me in a fresh direction?

Thanks,
Brian
 
now, is this realy an html/css question? is there no better place for this, the javascript forum perhaps?
 
try:
Code:
document.formname.buttonname.click();
Tracy Dryden
tracy@bydisn.com

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard. [dragon]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top