+ Reply to Thread
Results 1 to 5 of 5

sheet name in workbook

  1. #1
    Forum Contributor
    Join Date
    10-23-2014
    Location
    Kolding, Denmark
    MS-Off Ver
    MS Office 2010
    Posts
    169

    sheet name in workbook

    Hi,

    i have this formula which works fine, but i would like to know if i can make i better.

    =RIGHT(CELL("filename";Sheet1!A1);LEN(CELL("filename";Sheet1!A1))-FIND("]";CELL("filename";Sheet1!A1)))

    i want to have a list that allways shows all the sheet names in the file. so if i delete one og add one the list will still tell me witch sheet names there are in the workbook.

    i hope my "probleme" make sense

    thanks in adwance.

  2. #2
    Forum Contributor
    Join Date
    01-18-2013
    Location
    Prague
    MS-Off Ver
    Excel 2013
    Posts
    160

    Re: sheet name in workbook

    I use this formula:

    A2 = IFERROR(INDEX(Sheetlist,ROW()),"")

    For Sheetlist, you need to define it in name manager with the formula below.

    Sheetlist = REPLACE(GET.WORKBOOK(1),1,FIND("]",GET.WORKBOOK(1))," ")

  3. #3
    Forum Contributor
    Join Date
    10-23-2014
    Location
    Kolding, Denmark
    MS-Off Ver
    MS Office 2010
    Posts
    169

    Re: sheet name in workbook

    If i try to define it in name manager i get this message:
    We found a probleme with this formula.

  4. #4
    Forum Contributor
    Join Date
    10-23-2014
    Location
    Kolding, Denmark
    MS-Off Ver
    MS Office 2010
    Posts
    169

    Re: sheet name in workbook

    i got it to work by chaninging the , to ; thanks

  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: sheet name in workbook

    See this...

    https://www.excelforum.com/showthread.php?t=929969

    In the formulas you may have to replace the commas with semi-colons.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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. [SOLVED] Copy sheet from another workbook based on ComboBox names of the Workbook and sheet
    By igormigor in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-01-2016, 10:07 AM
  2. Replies: 2
    Last Post: 07-20-2014, 04:46 PM
  3. Replies: 3
    Last Post: 07-20-2014, 04:41 AM
  4. [SOLVED] Copying data from one workbook sheet to another workbook sheet without overwrriting
    By Amol1988 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-09-2014, 01:58 AM
  5. [SOLVED] macro to copy rows from a sheet in one workbook to a sheet in a different workbook...
    By fredderf81 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-16-2013, 01:36 PM
  6. [SOLVED] Copy Values From Each Workbook in Folder to a Single Sheet in New Workbook +Workbook names
    By Arsham24 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-21-2012, 07:42 PM
  7. Replies: 0
    Last Post: 08-01-2007, 02:03 PM

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