Auto Generate and name Worksheets from a list
Solved/Closed
Hello,
How can I automatically create and name worksheets in a workbook based on a list that exists in another sheet "Summary" in the workbook? The list begins at cell A10. Mind you, this list will vary from workbook to workbook. Do you have some code already compiled to perform this?
E-Coli
How can I automatically create and name worksheets in a workbook based on a list that exists in another sheet "Summary" in the workbook? The list begins at cell A10. Mind you, this list will vary from workbook to workbook. Do you have some code already compiled to perform this?
E-Coli
Related:
- Excel auto create tabs from list
- Grand theft auto v free download no verification for pc - Download - Action and adventure
- How to stop facebook from auto refreshing - Guide
- Grand theft auto iv download apk for pc - Download - Action and adventure
- Create skype account with gmail - Guide
- Counter strike 1.6 cheats list - Guide
2 responses
Ivan-hoe
Posts
433
Registration date
Saturday February 16, 2008
Status
Member
Last seen
October 17, 2008
110
Sep 6, 2008 at 01:26 AM
Sep 6, 2008 at 01:26 AM
Hello E-Coli,
apparently my tips did not help you.
anyway, here is a solution :
I.
apparently my tips did not help you.
anyway, here is a solution :
Sub CreateSheetsFromAList() Dim MyCell As Range, MyRange As Range Set MyRange = Sheets("Summary").Range("A10") 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
I.
Oct 22, 2009 at 01:10 AM
pls reply immdtly
thanks
Nov 4, 2010 at 11:06 AM