+ Reply to Thread
Results 1 to 4 of 4

Autopopulate a List based on tab names

  1. #1
    Registered User
    Join Date
    09-19-2012
    Location
    Redmond, WA
    MS-Off Ver
    Excel 2010
    Posts
    9

    Autopopulate a List based on tab names

    I have a "Dashboard" sheet within a workbook. There are a little more than a hundred tabs in the book. The "Dashboard" is set up to pull information from the "person's name worksheet" (each person's name is the name of the tab for their respected sheets in the book) through an indirect formula. For example, the person's name will be located in Column B of the "Dashboard" and columns C thru L are pulling information from the sheet associated with the person's name through an indirect funtion; the code for that is this (taken from column D as an example):
    Please Login or Register  to view this content.
    It is set up so that I type in the person's name into column B and the information in the other columns is automatically populated. However, with so many names to type and the list is only going to grow, is there away so that the "Dashboard" sheet's column B will search the workbook for all the tab names and generate the list without me needing to input every single name?

    Also, each tab name is the person's name and the tab is linked to cell C6 of their respected sheets...just an fyi - if that even matters


    I look forward to receiving some solutions!

    PS this site is amazing and so are it's users!!!

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,371

    Re: Autopopulate a List based on tab names

    Please Login or Register  to view this content.

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    09-19-2012
    Location
    Redmond, WA
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Autopopulate a List based on tab names

    I think I did not express what I was attempting to do very clearly. This works well for a 1 cell drop down box, so thank you for that. Is there a way for say a range B4:B300 to autopopulate without manually selecting a name? So, B4 would be say Sheet 2's name, B5 would be Sheet 3's name, B6 would be Sheet 4's name and so on.

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,371

    Re: Autopopulate a List based on tab names

    Just loop through the tab names as I have and put them in the next cell ... so, tab(2) would go in cell(B4), tab(3) would go in cell(B5),...tab(i) would ho in cell(B(i+2)).

    Just depends what you want to trigger the population. Maybe sheet activation? Could be a selection change.

    Regards, TMS

+ 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