+ Reply to Thread
Results 1 to 8 of 8

List of Sheet Names

  1. #1
    Registered User
    Join Date
    06-01-2023
    Location
    New Jersey
    MS-Off Ver
    2019
    Posts
    4

    List of Sheet Names

    Some years ago, I followed some advice and created a sheet that listed the other sheet names in the workbook using INDEX and REPLACE in the formulas. It worked perfectly. There was also advice that hitting Ctrl, Alt and F9 would recalculate the sheet. I think we were using version 2013 at the time.

    Then I forgot about it. Now we are using version 2019. When I revisited the worksheet, all of the formulas have a #NAME? error. When I hit Ctrl, Alt and F9, it brings me to the login screen. I am guessing the problem is with this version of Excel.

    Any advice?

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: List of Sheet Names

    What was the formula?

  3. #3
    Registered User
    Join Date
    06-01-2023
    Location
    New Jersey
    MS-Off Ver
    2019
    Posts
    4

    Re: List of Sheet Names

    I defined a Name, "Sheet_Names" as "=REPLACE(GET.WORKBOOK(1),1,FIND("]",GET.WORKBOOK(1)),"") "

    Then in my first sheet of the workbook, I had a series of formulas, using "=INDEX(Sheet_Names,A4) "

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: List of Sheet Names

    Both of those should still work. Is the workbook macro enabled?
    Also in the trust center settings check the box for "Enable Excel4 Macros"

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,055

    Re: List of Sheet Names

    The standard way of doing this is to create a Named Range (called, e.g. S_List)

    =MID(TRANSPOSE(GET.WORKBOOK(1))&T(NOW()),FIND("]",TRANSPOSE(GET.WORKBOOK(1))&T(NOW()))+1,255)

    Set up from the Name Manager (CTRL-F3)

    then

    =S_List

    The file MUST be saved as .xlsm to allow GET.WORKBOOK to function.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  6. #6
    Registered User
    Join Date
    06-01-2023
    Location
    New Jersey
    MS-Off Ver
    2019
    Posts
    4

    Re: List of Sheet Names

    The Macros were disabled. Thanks!!!

  7. #7
    Registered User
    Join Date
    06-01-2023
    Location
    New Jersey
    MS-Off Ver
    2019
    Posts
    4

    Re: List of Sheet Names

    Thank you. I will try that next time, but my code works now. Macros were disabled.

  8. #8
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: List of Sheet Names

    Glad to help & 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)

Similar Threads

  1. [SOLVED] Replace present formula names with reference data sheet names list
    By Khaldon in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-05-2021, 09:41 AM
  2. Replies: 2
    Last Post: 01-07-2015, 07:15 PM
  3. [SOLVED] show a list of names on from sheet 1 in sheet 2 when marked active in sheet 1...???
    By stolen_83 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-11-2013, 04:57 PM
  4. Replies: 6
    Last Post: 11-05-2012, 10:04 AM
  5. Getting a list of Sheet Names by excluding certain Sheet Names instantenously..
    By e4excel in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 01-09-2012, 12:16 PM
  6. Replies: 11
    Last Post: 10-06-2011, 02:26 PM
  7. Replies: 1
    Last Post: 11-27-2008, 11:11 AM

Tags for this Thread

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