+ Reply to Thread
Results 1 to 4 of 4

Extracting names of Worksheets without Macros

Hybrid View

  1. #1
    Registered User
    Join Date
    03-04-2012
    Location
    Macau
    MS-Off Ver
    Excel 2007
    Posts
    32

    Extracting names of Worksheets without Macros

    The following formula works. Is there a more elegant way of doing this?

    =RIGHT(CELL("filename",Sheet2!$A$1),LEN(CELL("filename",Sheet2!$A$1))-FIND("]",CELL("filename",Sheet2!$A$1)))

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Extracting names of Worksheets without Macros

    Try this...

    Formula: copy to clipboard
    =MID(CELL("filename",sheet2!$A$1),FIND("]",CELL("filename",sheet2!$A$1))+1,255)


    Or

    Formula: copy to clipboard
    =REPLACE(CELL("filename",sheet2!$A$1),1,FIND("]",CELL("filename",sheet2!$A$1)),"")


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    03-04-2012
    Location
    Macau
    MS-Off Ver
    Excel 2007
    Posts
    32

    Re: Extracting names of Worksheets without Macros

    I like the replace function. Never thought of that way.

    Thanks.

    Tom

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Extracting names of Worksheets without Macros

    Glad it helps you and thanks for the feedback

+ 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