+ Reply to Thread
Results 1 to 6 of 6

Macro to click on a dynamically generated hyperlink

Hybrid View

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

    Re: Macro to click on a dynamically generated hyperlink

    Is there anything in the URL of the link you could use to identify it?

    If there is you could get the collection of all the links on the page using appIE.document.links, loop through it, identify the link you want and then click it.

    PS Can you please add code tags when posting code?
    If posting code please use code tags, see here.

  2. #2
    Registered User
    Join Date
    04-11-2017
    Location
    London, England
    MS-Off Ver
    2010
    Posts
    3

    Re: Macro to click on a dynamically generated hyperlink

    Sorry about the not using code tags...

    The URL of the link is as below, with the numbers at the end of the link being dynamic and changing dependant on what is input. Going on what you are saying, would using appIE.document.links then be able to identify it when the numbers at the end are different each time depending on input data?

    HTML Code: 

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Dynamically generated Shell command
    By jakopak in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-08-2016, 02:31 PM
  2. Replies: 0
    Last Post: 06-22-2014, 04:18 PM
  3. How to Create Dynamically Generated Word List
    By GoodManRob in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 05-28-2014, 11:24 AM
  4. Dynamically Generated Form And Their Click Events
    By fenilbhoot in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-12-2013, 10:13 AM
  5. [SOLVED] Use VBA to download a dynamically generated image from the web.
    By nponoBegHuk in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-01-2012, 09:51 AM
  6. Setting up a dynamically generated range reference
    By cveetan in forum Excel General
    Replies: 8
    Last Post: 02-22-2012, 07:37 AM
  7. Dynamically Generated Range using Macro
    By JM.EE01@gmail.com in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-15-2006, 03:15 AM

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