+ Reply to Thread
Results 1 to 6 of 6

Excel 2007 : Display Sheet Name in Workbook

  1. #1
    Registered User
    Join Date
    12-15-2010
    Location
    Baton Rouge, Louisiana
    MS-Off Ver
    Excel 2007
    Posts
    5

    Display Sheet Name in Workbook

    Is it possible to display the sheet name within the workbook? For example I keep my budget on excel and would like to display the sheet name above all my charts. Each sheet is labeled with the month and I want to place that name above all the charts in the sheet.

    Thanks for your help.
    Last edited by physicsstinks; 12-15-2010 at 07:58 PM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,425

    Re: Display Sheet Name in Workbook

    =MID(CELL("Filename",A1),FIND("]",CELL("Filename",A1))+1,255)

    Note that the workbook must have been saved or you will get a #VALUE! error

    Regards
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    12-15-2010
    Location
    Baton Rouge, Louisiana
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Display Sheet Name in Workbook

    Works like a charm. Thanks so much!

  4. #4
    Registered User
    Join Date
    12-15-2010
    Location
    Baton Rouge, Louisiana
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Display Sheet Name in Workbook

    Along the same line of questioning. Is it possible to use the sheet name for the title of a pivot chart. Basically can you use a formula for the chart title. If not is there a workaround. Thanks for the help.

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,425

    Re: Display Sheet Name in Workbook

    Click in the title within the chart (if you don't have one you need to add one first) and then click in the formula bar. Then enter "=Sheet1!A1" without the quotes, where cell A1 on Sheet1 contains the name you want to appear as the title. And, in this case, cell A1 contains the sheet name from the previous question.

    Regards
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    04-17-2013
    Location
    Saudi Arabia
    MS-Off Ver
    Excel 2003
    Posts
    1

    Thumbs up Re: Display Sheet Name in Workbook

    Quote Originally Posted by TMShucks View Post
    =MID(CELL("Filename",A1),FIND("]",CELL("Filename",A1))+1,255)

    Note that the workbook must have been saved or you will get a #VALUE! error

    Regards
    Thanks for sharing the useful information.
    regards,
    Hedayat

+ 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