Results 1 to 4 of 4

Using VBA to excecute an OnClick Event

Threaded View

  1. #1
    Registered User
    Join Date
    10-13-2010
    Location
    Malvern, AR
    MS-Off Ver
    Excel 2003
    Posts
    49

    Using VBA to excecute an OnClick Event

    Hey Guys,

    I want to start off by saying that this is one of the best forums I have been on. Everyones answer has helped me so much and someone replies to each thread I post pretty fast.

    I have a new question.

    I have a script I am writing in VBA that interacts with a site I use. On road block I have come to is I have an OnClick even that I need to trigger. Here is the kicker, the HREF is the same as every other on the page (javascript:void(0). How would I go about finding this particular OnClick button and then having the VBA code "click" it?

    Thanks for your time!

    Here is a clip:

    <a href="javascript:void(0);" onClick="javascript:clickme"><img src="/images/button.gif"  id="img_search_650"  name="img_search_650" width="18" height="18"  alt="Search" border="0" align="top"></a>
    Last edited by ChrisKader; 11-13-2010 at 11:16 PM.

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