+ Reply to Thread
Results 1 to 2 of 2

Creating a list of hyperlinks

  1. #1
    Forum Contributor
    Join Date
    08-29-2011
    Location
    Atlanta
    MS-Off Ver
    Excel 2007
    Posts
    171

    Creating a list of hyperlinks

    I have a workbook containing about 180 sheets and I am trying to create a summary tab (named "Course List") that creates a hyperlink to each tab using a formula to reference the course name. For example, cell A5 reads as "Building Deeper Relationships and Expanding Services to Existing Clients" and is a hyperlink to that tab, but the actual text within the cell would be =BDRES!B2. Also, cell B5 (the Delivery Method) would read as "Live, Virtual Training" and would be a reference to =BDRES!B3 but does not have to be a hyperlink.

    I have been able to create a list of references to the tabs, but I have been able to change them into hyperlinks. I've tried both Range().Formula = "=HYPERLINK . . . and ActiveSheet.Hyperlinks.Add . . . unsuccessfully. I'm sure I'm missing something but I've tried so many versions I don't know what to test next.

    Here is the code I currently have (and btw, NWb is the number of sheets in the workbook):
    Please Login or Register  to view this content.
    The comments are my attempt to just list the references (not as hyperlinks) and I got that done. Can someone please provide some guidance for the hyperlink part?

    Thanks
    Last edited by ATLGator; 04-18-2012 at 05:42 PM.

  2. #2
    Forum Contributor
    Join Date
    08-29-2011
    Location
    Atlanta
    MS-Off Ver
    Excel 2007
    Posts
    171

    Re: Creating a list of hyperlinks

    Also, in case this is what is messing me up, the code I posted is actually the second For-Next loop that uses RowNum. It's not defined anywhere, it's just the variable used in the loop. Can I reuse this, or should I create a new one?

+ 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