+ Reply to Thread
Results 1 to 5 of 5

How to create Multiple sheets base on a list and a MASTER sheet

  1. #1
    Registered User
    Join Date
    10-28-2016
    Location
    new york
    MS-Off Ver
    A+
    Posts
    62

    How to create Multiple sheets base on a list and a MASTER sheet

    Folks,

    Question.

    I have a file that I have a list of names (sheet1) start on cell A1. in the same file I have a master Sheet (MASTER). I want to Copy the master sheet to a new sheet and then rename base on (sheet1) cell A1 and that will go on for the all the names on SHEET1 CELL A1.

    I have the code BUT I am not sure how to change so I can copy my Master sheet and change the name.

    Sub CreateSheetsFromAList()
    Dim MyCell As Range, MyRange As Range

    Set MyRange = Sheets("Summary").Range("A1")
    Set MyRange = Range(MyRange, MyRange.End(xlDown))

    For Each MyCell In MyRange
    Sheets.Add After:=Sheets(Sheets.Count) 'creates a new worksheet
    Sheets(Sheets.Count).Name = MyCell.Value ' renames the new worksheet
    Next MyCell
    End Sub
    Last edited by davi65; 11-04-2016 at 11:04 AM.

  2. #2
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,821

    Re: How to create Multiple sheets base on a list and a MASTER sheet

    Try:
    Please Login or Register  to view this content.
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

  3. #3
    Registered User
    Join Date
    08-26-2011
    Location
    sg
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: How to create Multiple sheets base on a list and a MASTER sheet

    Hi davi,

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    10-28-2016
    Location
    new york
    MS-Off Ver
    A+
    Posts
    62

    Re: How to create Multiple sheets base on a list and a MASTER sheet

    Quote Originally Posted by chlin View Post
    Hi davi,

    Please Login or Register  to view this content.


    Thank you Guys this one work.

  5. #5
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,821

    Re: How to create Multiple sheets base on a list and a MASTER sheet

    The macro chlin suggested will work. However, if you add to the list of names in column A and run the macro a second time, it will generate an error that the sheet already exists. If you run the macro only once, then it will be OK. If you plan on running it more than once, then try the macro I suggested.

+ 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. Autofill master list (sheet) from multiple sheets
    By Jandeezi in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-28-2016, 02:19 PM
  2. Macro to Create Sub Sheets from a Master List Sheet
    By Kingscrown21 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-19-2016, 01:03 PM
  3. [SOLVED] Create a master list from dynamics lists in multiple sheets.
    By excobra in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-28-2016, 02:31 PM
  4. [SOLVED] Create new sheets from master sheet based on multiple column criteria
    By hamidxa in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-07-2015, 02:44 PM
  5. [SOLVED] Consolidating multiple sheets in master tab and create summary sheet
    By Farida in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-14-2014, 02:41 PM
  6. [SOLVED] Create master list from multiple sheets in the same format
    By malmandras in forum Excel General
    Replies: 1
    Last Post: 05-09-2013, 01:59 PM
  7. Create Multiple Sheets from master sheet
    By neilshaw in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 05-08-2011, 06:10 AM

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