+ Reply to Thread
Results 1 to 7 of 7

How to work with hyperlink index

  1. #1
    Forum Contributor
    Join Date
    12-30-2012
    Location
    Israel
    MS-Off Ver
    2007, 2016
    Posts
    642

    How to work with hyperlink index

    Hi. In each cell in column A ("A1:A50") there is a hyperlink. The macro below will open these hyperlinks simultaneously. I want the macro to open only 5 hyperlinks at a time, how would you do it?

    Please Login or Register  to view this content.
    Last edited by GIS2013; 03-28-2014 at 12:58 PM.
    Please * if you like the answer

  2. #2
    Forum Guru
    Join Date
    03-12-2010
    Location
    Canada
    MS-Off Ver
    2010 and 2013
    Posts
    4,418

    Re: How to work with hyperlink index

    Hi,

    You're missing the [/Code] at the end of your code.

    If you want to do it pairs of fives, you need a counter.

    Please Login or Register  to view this content.
    abousetta
    Please consider:

    Thanking those who helped you. Click the star icon in the lower left part of the contributor's post and add Reputation.
    Cleaning up when you're done. Mark your thread [SOLVED] if you received your answer.

  3. #3
    Forum Contributor
    Join Date
    12-30-2012
    Location
    Israel
    MS-Off Ver
    2007, 2016
    Posts
    642

    Re: How to work with hyperlink index

    Hi abousetta, thanks for the solution. I'm getting 'run time error 1004'. The line below is being marked:
    Please Login or Register  to view this content.

  4. #4
    Forum Guru
    Join Date
    03-12-2010
    Location
    Canada
    MS-Off Ver
    2010 and 2013
    Posts
    4,418

    Re: How to work with hyperlink index

    Here's an updated code:

    Please Login or Register  to view this content.
    abousetta

  5. #5
    Forum Contributor
    Join Date
    12-30-2012
    Location
    Israel
    MS-Off Ver
    2007, 2016
    Posts
    642

    Re: How to work with hyperlink index

    First of all thank you it works, but stuck with the second hyperlink. So maybe it'd be better to try completely different plan the would open 50 hyperlinks one by one (or five at a time) but not simultaneously.

  6. #6
    Forum Guru
    Join Date
    03-12-2010
    Location
    Canada
    MS-Off Ver
    2010 and 2013
    Posts
    4,418

    Re: How to work with hyperlink index

    Why is it stuck? Is the URL not working?

    You have a few options. 1) check all URLs before running the code. 2) Using IE to open new windows with each URL. There are lots of threads on how to do both.

  7. #7
    Forum Contributor
    Join Date
    12-30-2012
    Location
    Israel
    MS-Off Ver
    2007, 2016
    Posts
    642

    Re: How to work with hyperlink index

    Sorry for delay in response. Cheers abousetta, I'll check both issues.

+ 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. Hyperlink, Index, Match
    By Bob Lankin in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-24-2013, 11:55 PM
  2. Index, match & hyperlink
    By kryzis04 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-07-2013, 09:26 AM
  3. Index Match Index Formula work slow
    By avk in forum Excel General
    Replies: 9
    Last Post: 03-07-2012, 02:19 PM
  4. Hyperlink doesn't work
    By foxguy in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 02-08-2010, 01:52 PM

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