+ Reply to Thread
Results 1 to 5 of 5

Show sheet title/name in cell

  1. #1
    Registered User
    Join Date
    03-18-2005
    Posts
    36

    Show sheet title/name in cell

    Hi,

    Is it possible to show the sheet name or title in a cell without using VBA?

    regards,

    Aage

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Try:

    =MID(CELL("filename",$A$1),FIND("]",CELL("filename",$A$1))+1,255)

    Note: the file must be saved to work.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    03-18-2005
    Posts
    36
    Thanks, but I was thinking more on how to show the worksheets name in cell M2 ex. sheet 1, sheet 2, sheet 3... in the workbook.

    The NBVC formula retrieves the filname, if I dont mistaken?

  4. #4
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile

    Good morning age

    No, NBVC's formula works just as you requested. However, it will return an error if the file is not saved.

    You cannot do what you require to an unsaved file without resorting to VBA.

    HTH

    DominicB
    Please familiarise yourself with the rules before posting. You can find them here.

  5. #5
    Registered User
    Join Date
    03-18-2005
    Posts
    36
    Ok, Thanks all. I'll try it out..

+ 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