+ Reply to Thread
Results 1 to 4 of 4

Worksheet Names macro that pastes names as hyperlinks

  1. #1
    Registered User
    Join Date
    12-26-2006
    Posts
    78

    Worksheet Names macro that pastes names as hyperlinks

    Good morning forum, I have the macro below which pastes all the names in my file (there are lots) in column A.

    Is there anyway I can get the macro to paste the names as hyperlinks so that I can just click on the name to go to that sheet?

    Failing that, is there a formula which will convert the name into a link?

    Help will be much appreciated!


    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Worksheet Names macro that pastes names as hyperlinks

    hi bungaree, hyperlink to each sheet A1 cell
    Please Login or Register  to view this content.

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Worksheet Names macro that pastes names as hyperlinks

    you could with sheet name in a1 use in b1
    =HYPERLINK("#"&CHAR(39)&A1&CHAR(39)&"!A1",A1)
    or
    =HYPERLINK("#'"&A1&"'!a1",A1)
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  4. #4
    Registered User
    Join Date
    12-26-2006
    Posts
    78

    Re: Worksheet Names macro that pastes names as hyperlinks

    How incredible is this forum - thank you both for your very quick responses!

    Watersev, I couldn't get your code to work on my named worksheets, it only worked as a link for the default Excel sheet names. Not a problem, because Martin, I didn't even think to look for a formula! And both of yours work a treat.

    Thank you both so much again.
    Happy day , Bungaree

+ 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