Results 1 to 2 of 2

Thread: VBA code to click a link in a webpage (Two link with the same name)
Thanks Thanks: 0 Likes Likes: 0

  1. #1
    New Member
    Join Date
    Feb 2019
    Posts
    11
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default VBA code to click a link in a webpage (Two link with the same name)

    Hello Experts,

    Requesting your support. I have been trying this code for more than a week.
    I have a webpage when I navigate, I need to click a link "Transcript". The problem is the webpage having two transcript link. But I use the 2nd one.
    I tried using SendKeys "{TAB}". Sometime only it is working. Mostly the webpage navigate to different page. Please advise the code to click the below highlighted link
    Last edited by Fluff; Feb 21st, 2019 at 02:43 PM. Reason: Removed image code

  2. #2
    New Member
    Join Date
    Feb 2019
    Posts
    11
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: VBA code to click a link in a webpage (Two link with the same name)

    This is the HTML code:

    <div id="content">
    <h2 class="main">Douglas Hunt</h2>
    <div class="tabtree">
    <u1 class="tabrow0">
    <li class="first one rwo here selected">...</li>
    <li>...</li>
    <li>...</li>
    <li>...</li>
    <li>...</li>
    <li>...</li>
    <li>...</li>
    <li>
    <a title="Transcript" href="https://examplelink.com">
    <span>Transcript</Span>
    </a>
    </li>

Some videos you may like

User Tag List

Tags for this Thread

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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