+ Reply to Thread
Results 1 to 4 of 4

Creating TABS from a list and have these tabs have information populate automatically

  1. #1
    Registered User
    Join Date
    03-02-2015
    Location
    ridgecrest, ca
    MS-Off Ver
    2010
    Posts
    54

    Creating TABS from a list and have these tabs have information populate automatically

    I am trying to find out if it is possible to have excel using VBA to create new worksheets automatically named after the supervisor's name that is in the list. In addition to the new worksheets being created is there a way have employees information who work for the supervisor moved to that respective sheet.
    TEST.xlsx

  2. #2
    Valued Forum Contributor
    Join Date
    01-03-2016
    Location
    Conwy, Wales
    MS-Off Ver
    2016
    Posts
    974

    Re: Creating TABS from a list and have these tabs have information populate automatically

    Try this.
    To run both macros {ctrl} + T when in MasterRoster

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Attached Files Attached Files
    If a response has helped then please consider rating it by clicking on *Add Reputation below the post
    When your issue has been resolved don't forget to mark the thread SOLVED (click Thread Tools at top of thread)

  3. #3
    Registered User
    Join Date
    03-02-2015
    Location
    ridgecrest, ca
    MS-Off Ver
    2010
    Posts
    54

    Re: Creating TABS from a list and have these tabs have information populate automatically

    these work perfectly for being run one time which is totally cool but is there a way to be able to run them more than once where they will "update" the information if information is changed on the the Master Roster sheet?

  4. #4
    Valued Forum Contributor
    Join Date
    01-03-2016
    Location
    Conwy, Wales
    MS-Off Ver
    2016
    Posts
    974

    Re: Creating TABS from a list and have these tabs have information populate automatically

    Replace procedure "CreateWorksheets" with the one below

    Changes made
    1 Deletes all sheets except "MASTERROSTER" and "Change Matrix" before creating employee data - so clean start each time
    2 Have added sort of employee data by Supervisor, then by employee number - which means sheets generated alphabetically and employees added in sequence on each sheet
    3 New sheets are now added after the other 2 sheets

    Notes
    1 If you add another sheet that you want to retain, remember to include it in the condition to prevent it being deleted alongside all the supervisor sheets!
    2 Clean start approach may seem a bit like "a sledgehammer to crack a nut", but it is simple.
    3 If you insert the second code below into worksheet "MASTERROSTER" module , then anytime cell A1 (in that sheet) is selected , other sheets updated

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.

+ 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. Macro help: Separating data into tabs and creating a table of content of those tabs
    By AntiPivotTable in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-15-2015, 11:57 AM
  2. Populate information sheet tabs from data in table on first tab
    By Chrisb_009 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-19-2014, 03:26 PM
  3. How Do I split a file into several Tabs, acording to information on other tabs?
    By Edinson in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-12-2013, 05:17 AM
  4. table automatically populates based on information in other tabs
    By ea223 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-27-2013, 10:10 PM
  5. Automatically populate information in other tabs / documents
    By 3N0 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-06-2012, 12:18 PM
  6. Replies: 11
    Last Post: 09-02-2011, 11:17 AM
  7. Populate cell value automatically between different tabs
    By chitian5057 in forum Excel General
    Replies: 3
    Last Post: 07-28-2010, 07:39 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