+ Reply to Thread
Results 1 to 9 of 9

creating hyperlinks

Hybrid View

  1. #1
    Registered User
    Join Date
    06-05-2013
    Location
    india
    MS-Off Ver
    Excel 2010
    Posts
    5

    creating hyperlinks

    hii..!!
    it's quite difficult for me to explain my issue. I'll try my best...
    here
    Untitled.jpg

    As u can see...i created hyperlinks in E2, E3, E4...
    E2 refers to Cell A1 on sheet named 1
    E3 refers to Cell A1 on sheet named 2
    E4 refers to Cell A1 on sheet named 3

    Since i have a total of 600 sheets, its not possible to create manual hyperlinks for each sheet. Is there any formula or VB command through which i can create hyperlinks keeping target cell absolute but sheet variable..?

  2. #2
    Forum Expert
    Join Date
    09-11-2014
    Location
    Washington, DC
    MS-Off Ver
    2016
    Posts
    1,907

    Re: creating hyperlinks

    Are your sheets numbered in sequential order format? As in, do the all contain the phrase such as 'Sheet1', 'Sheet2', 'Sheet3'...?
    Spread the love, add to the Rep

    "None of us are as smart as all of us."

  3. #3
    Registered User
    Join Date
    06-05-2013
    Location
    india
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: creating hyperlinks

    they are numbered in sequential order but I have renamed the sheets with '1', '2', '3', '4'....and so on till '100'...

  4. #4
    Forum Expert
    Join Date
    09-11-2014
    Location
    Washington, DC
    MS-Off Ver
    2016
    Posts
    1,907

    Re: creating hyperlinks

    I'm confused...are the hyperlinks referencing actual links, or just cells?

  5. #5
    Registered User
    Join Date
    06-05-2013
    Location
    india
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: creating hyperlinks

    sorry for the confusion...i wanted to create hyperlinks for cells not the actual links.

  6. #6
    Forum Expert
    Join Date
    09-11-2014
    Location
    Washington, DC
    MS-Off Ver
    2016
    Posts
    1,907

    Re: creating hyperlinks

    If you are referring to retrieving the cell's contents, but simply through a formula format which you can drag down instead of manually referencing every sheet, try this in E2:

    E2:  =IFERROR(INDIRECT("'"&ROWS($E$2:E2)&"'!A1"),"")
    And drag down through row 101.

    Hope this helps!

  7. #7
    Registered User
    Join Date
    06-05-2013
    Location
    india
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: creating hyperlinks

    Quote Originally Posted by mcmahobt View Post
    If you are referring to retrieving the cell's contents, but simply through a formula format which you can drag down instead of manually referencing every sheet, try this in E2:

    E2:  =IFERROR(INDIRECT("'"&ROWS($E$2:E2)&"'!A1"),"")
    And drag down through row 101.

    Hope this helps!
    Thanks for trying and investing your time.
    I got the values on the main sheet by trying ur code. This was my other question. So thanks in advance...)

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

    Re: creating hyperlinks

    so you just want to link to each sheet a1 from the sheet names in a2 downwards
    then e2 filled down is =HYPERLINK("#'"&A2&"'!a1","LINK TO SHEET "&A2 )
    where
    ,"LINK TO SHEET "&A2 is the friendly name you want to use
    and displays as LINK TO SHEET 1
    if you leave it out it displays as
    #'1'!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

  9. #9
    Registered User
    Join Date
    06-05-2013
    Location
    india
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: creating hyperlinks

    Quote Originally Posted by martindwilson View Post
    so you just want to link to each sheet a1 from the sheet names in a2 downwards
    then e2 filled down is =HYPERLINK("#'"&A2&"'!a1","LINK TO SHEET "&A2 )
    where
    ,"LINK TO SHEET "&A2 is the friendly name you want to use
    and displays as LINK TO SHEET 1
    if you leave it out it displays as
    #'1'!a1
    Wow...now that's exactly what i wanted. Thank you so much. U saved a hell lot of my time. Thanks again...

+ 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. Creating new Hyperlinks
    By rich_drummer in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-30-2010, 08:45 PM
  2. Creating hyperlinks using VBA
    By vt804boy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-02-2009, 05:37 PM
  3. Macro for Creating Hyperlinks
    By JoshuaSQ in forum Excel General
    Replies: 2
    Last Post: 08-10-2008, 03:42 AM
  4. Creating hyperlinks in VBA
    By I Am Herenow in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-26-2008, 05:29 AM
  5. creating hyperlinks
    By Archana Jain in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-14-2005, 12:56 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