Skip to main content
 

How to create multiple worksheets from a list of cell values?

Author: Xiaoyang Last Modified: 2024-09-04

Are there any quick or easy methods for us to create multiple worksheets based on a list of cell values in Excel? In this article, I will talk about some good tricks to solve this job.

Create multiple worksheets from a list of cell values with VBA code

Create multiple worksheets from a list of cell values with Kutools for Excel


arrow blue right bubble Create multiple worksheets from a list of cell values with VBA code

To quickly create multiple new worksheets which named with a list of cell values, the following VBA code can help you.

1. Hold down the ALT + F11 keys to open the Microsoft Visual Basic for Applications window.

2. Click Insert > Module, and paste the following code in the Module Window.

VBA code: Create multiple worksheets from a list of cells:

Sub AddSheets()
'Updateby Extendoffice
    Dim xRg As Excel.Range
    Dim wSh As Excel.Worksheet
    Dim wBk As Excel.Workbook
    Set wSh = ActiveSheet
    Set wBk = ActiveWorkbook
    Application.ScreenUpdating = False
    For Each xRg In wSh.Range("A1:A7")
        With wBk
            .Sheets.Add after:=.Sheets(.Sheets.Count)
            On Error Resume Next
            ActiveSheet.Name = xRg.Value
            If Err.Number = 1004 Then
              Debug.Print xRg.Value & " already used as a sheet name"
            End If
            On Error GoTo 0
        End With
    Next xRg
    Application.ScreenUpdating = True
End Sub

Note: In the above code, A1:A7 is the cell range that you want to create sheets based on, please change it to your need.

3. Then press F5 key to run this code, and the new sheets have been created after all sheets in current workbook, see screenshot:

run code to create worksheets from a list of cell values


arrow blue right bubble Create multiple worksheets from a list of cell values with Kutools for Excel

If you are not skilled with the above code, here is a handy tool-Kutools for Excel, with its Create Sequence Worksheets function, the worksheets will be created based on the cell values in a new workbook.

Kutools for Excel offers over 300 advanced features to streamline complex tasks, boosting creativity and efficiency. Enhanced with AI capabilities, Kutools automates tasks with precision, making data management effortless. Detailed information of Kutools for Excel...         Free trial...

After installing Kutools for Excel, please do as this:

1. Click Kutools Plus > Worksheet > Create Sequence Worksheets, see screenshot:

click Create Sequence Worksheets feature of kutools

2. In the Create Sequence Worksheets dialog box:

(1.) Select one worksheet that you want to create sequence worksheets based on;

(2.) Then select Data in a range option from the Sheet names based on list box, and click select button button to select the cell values that you want to use.

set options in the dialog box

3. And then click Ok button, the worksheets have been created with the names of the cell values in a new workbook, see screenshot:

the worksheets have been created with the names of the cell values

Click Download and free trial Kutools for Excel Now!

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!