+ Reply to Thread
Results 1 to 8 of 8

Trigger webpages button via vba

  1. #1
    Forum Contributor
    Join Date
    04-05-2011
    Location
    behind you!
    MS-Off Ver
    Excel 2010
    Posts
    116

    Trigger webpages button via vba

    Hi,

    Please Login or Register  to view this content.
    Please set a breakpoint in the line browser.Quit .
    I want to click the button GO next to the text box there I have entered bbva.

    In the webpages source code I've found this sniplet:
    Please Login or Register  to view this content.
    Has anybody an idea how to trigger the GO button?

    Thank you very much!

    Regards,
    Lloyd
    Attached Files Attached Files

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,603

    Re: Trigger webpages button via vba

    Lloyd

    Try this.
    Please Login or Register  to view this content.
    If posting code please use code tags, see here.

  3. #3
    Forum Contributor
    Join Date
    04-05-2011
    Location
    behind you!
    MS-Off Ver
    Excel 2010
    Posts
    116

    Re: Trigger webpages button via vba

    Hi Norie,

    Please Login or Register  to view this content.
    just refreshes the page!

    Regards,
    Lloyd

  4. #4
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    2016 Win10
    Posts
    7,187

    Re: Trigger webpages button via vba

    Since the search term is appended to the url, why not just use that?

    ie.
    Please Login or Register  to view this content.

  5. #5
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,603

    Re: Trigger webpages button via vba

    Strange, it should submit the form which I assumed would be what the Go button would do.

    Is the URL in the text file valid?

  6. #6
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    2016 Win10
    Posts
    7,187

    Re: Trigger webpages button via vba

    Norie, it's a GET, not a POST

  7. #7
    Forum Contributor
    Join Date
    04-05-2011
    Location
    behind you!
    MS-Off Ver
    Excel 2010
    Posts
    116

    Re: Trigger webpages button via vba

    Good question
    Thank you very much Kyle!

  8. #8
    Forum Contributor
    Join Date
    04-05-2011
    Location
    behind you!
    MS-Off Ver
    Excel 2010
    Posts
    116

    Re: Trigger webpages button via vba

    Hi Norie, yes the url is correct!
    Anyway Kyle helped me to solve the problem.

    Thanks, Lloyd

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1