1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

Excel - Link The Tab Name into Worksheets

Discussion in 'Other PC Software' started by dishon, 2004/04/29.

Thread Status:
Not open for further replies.
  1. 2004/04/29
    dishon

    dishon Inactive Thread Starter

    Joined:
    2002/02/05
    Messages:
    138
    Likes Received:
    0
    Can I link the Tab Name, ie Sheet1 or Sheet2 into a worksheet as a title? ie "Please see 'Sheet1' for more information. "
    Thus, if the 'Sheet1' tab is changed to 'Bod' then it's changed throughout all the worksheets.
     
  2. 2004/04/29
    merlin

    merlin Inactive

    Joined:
    2003/01/07
    Messages:
    1,111
    Likes Received:
    0
    Hi Dishon,
    I do not see why not - but I will try it after posting this.
    I would say say you need a cell on Sheet1 that is a hyperlink to Sheet2.
    The cell on Sheet1 will automatically show the hyperlink text on mouseover.
    will get back to you on this . . .
    regards
     

  3. to hide this advert.

  4. 2004/05/17
    ReggieB

    ReggieB Inactive Alumni

    Joined:
    2004/05/12
    Messages:
    2,786
    Likes Received:
    2
    Use VBA

    This function would give you the sheet name
    ----------------------
    Function sheetname() As String

    Dim wsThisone As Worksheet

    Set wsThisone = ActiveSheet

    sheetname = wsThisone.Name

    Set wsThisone = Nothing

    End Function
    -----------------------

    If you then enter the equation "=sheetname()" into a cell on the sheet in question, the cell content will be the sheet name. You can then reference that as normal.

    However, note that the link isn't live and you may have to update it or trigger it in another way to get it to update. Double clicking on the cell will do it.
     
Thread Status:
Not open for further replies.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.