+ Reply to Thread
Results 1 to 4 of 4

Self Updating / Refreshing in-cell Drop Down list of worksheet names

  1. #1
    Registered User
    Join Date
    03-28-2020
    Location
    LlanfairPG
    MS-Off Ver
    2016
    Posts
    30

    Self Updating / Refreshing in-cell Drop Down list of worksheet names

    I'm looking for a way of creating an in-cell drop down list of worksheet names that updates automatically if a new sheet is created, or a sheet is renamed ?

    I've looked on loads of websites, and find loads about drop downs, but none that refresh themselves.

    TIA

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    82,624

    Re: Self Updating / Refreshing in-cell Drop Down list of worksheet names

    Making a list of sheet names:

    1. In Names Manager on the Formulas ribbon, create a new name called SheetNames and type this into the reference box at the bottom: =GET.WORKBOOK(1)&T(NOW())
    2. In A1 type this and copy down: =IFERROR(INDEX(MID(SheetNames,FIND("]",SheetNames)+1,255),ROWS(A$1:A1)),"")
    3. Save as a macro-enabled workbook.

    You can use this as the definition of a new named range (call it List):

    =Sheet1!$A$1:INDEX(Sheet1!$A:$A,COUNTA(Sheet1!$A:$A)

    You than use this named range (List) ofr your drop-down list reference. Sheet1 can be hidden, and as long as it's the first sheet in the workbook, you can adapt the List named range to exclude it like this:

    =Sheet1!$A$2:INDEX(Sheet1!$A:$A,COUNTA(Sheet1!$A:$A)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    03-28-2020
    Location
    LlanfairPG
    MS-Off Ver
    2016
    Posts
    30

    Re: Self Updating / Refreshing in-cell Drop Down list of worksheet names

    Thank you for all your help. You are a star. I only wish i knew as much about excel as you do.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    82,624

    Re: Self Updating / Refreshing in-cell Drop Down list of worksheet names

    Thanks for the kind words. I have learnt almost everything I know from this forum.

+ 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] Get Cell Value For All Names in drop down list on report sheet
    By Switchblade IX in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-22-2021, 06:14 AM
  2. Print All Options On A Drop Down List after Refreshing Excel Add In - With VBA
    By nate17 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-23-2019, 10:12 PM
  3. Drop down list of worksheet names
    By keithwins in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-03-2014, 12:22 PM
  4. [SOLVED] Create a Drop down that will list all names starting with initial letter of names.
    By blue leader in forum Excel - New Users/Basics
    Replies: 9
    Last Post: 01-16-2014, 03:58 PM
  5. Replies: 2
    Last Post: 09-03-2012, 02:56 PM
  6. Updating of cell linked to drop-down list
    By zalcjm in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-10-2006, 04:40 PM
  7. Lookup cell value using list of worksheet names
    By amaranth in forum Excel Formulas & Functions
    Replies: 85
    Last Post: 09-06-2005, 07:05 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