Internet Explorer Buttons

  • Hi, im working on a project that has exposed myself to something. I am familiar with navigating through many IE websites in VBA, but this one has me stumped. I have entered all my information via code, and now I need to progress to the next screen. Here is the button I need to click. All help is greatly appreciated. Thank you.


    <button name="btnRunSearch" accesskey="R"
    class="actionButtonBold"
    onclick="CSWCSC_runSearch(this.form)" onkeypress="return CSWCSC_submitenter(this,event)"><U>R</U>un Search</button>

    "To know the road ahead, ask those coming back.":fatwalk:

  • Re: Internet Explorer Buttons


    I dont think so.. its not VBA.

    "To know the road ahead, ask those coming back.":fatwalk:

  • Re: Internet Explorer Buttons


    this is the javascript describing the button.. i need the vba to click the button.

    "To know the road ahead, ask those coming back.":fatwalk:

  • Re: Internet Explorer Buttons


    thank you for the clarification.


    usually i use


    Code
    doc.forms(0).submit


    but that doesnt work with this one.

    "To know the road ahead, ask those coming back.":fatwalk:

  • Re: Internet Explorer Buttons


    Use the submit method but you still need to find the object. See my z.id iteration method and the resulting ieForm object method below.

  • Re: Internet Explorer Buttons


    I have tried every form name I can identify and none work. Any ideas on how to find which form I need be placing between the () to get it to submit?

    "To know the road ahead, ask those coming back.":fatwalk:

  • Re: Internet Explorer Buttons


    i have reviewed the source code, but im still having no luck.

    "To know the road ahead, ask those coming back.":fatwalk:

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!