Specifying the Number of Worksheets in a New Workbook

by Allen Wyatt
(last updated August 25, 2018)


Whenever Denise creates a new workbook, Excel always creates it with three worksheets. She seldom (if ever) uses three worksheets in a workbook, so she deletes the extras. This is a bit bothersome to Denise, so she wonders if there is a way to tell Excel that she only wants one or two worksheets when she creates a workbook.

The short answer is yes, there is a way—and it is quite simple. Before explaining how this is done, though, Denise should be commended on making sure that her workbooks contain only the number of worksheets needed for the data contained therein. (It can be a bother to have extraneous, empty worksheets in a workbook!)

In order to adjust the number of worksheets in a new workbook, follow these steps:

  1. Display the Excel Options dialog box. (In Excel 2007 click the Office button and then click Excel Options. In Excel 2010 or a later version display the File tab of the ribbon and then click Options.)
  2. At the left side of the dialog box click General. (If you are using Excel 2007, click the Popular option instead.) (See Figure 1.)
  3. Figure 1. The General options of the Excel Options dialog box

  4. Adjust the value shown in the Include this Many Sheets control.
  5. Click on OK.

That's it; the next time you start Excel (or the next time you create a new workbook from within Excel), it will only include the number of worksheets you specified in step 3.

There is a different, lesser-known method you could use for specifying how many worksheets you want in a new workbook—you could create your own workbook template that has the desired number of worksheets. You could also apply any "default formatting" you want to the workbook and the worksheets. When you then create a workbook based on the template, it will be created using the template as a pattern for the new workbook.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (958) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, and Excel in Office 365.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...


Unwanted Cover Pages with Print Jobs

When you print a document, do you get more than you bargained for? If you get extra pages printed either before or within ...

Discover More

Setting Default Options for Track Changes

The Track changes feature in Word is a great help in editing documents, particularly if you are working with others or ...

Discover More

Turning Off Smart Quotes for Specific Styles

Smart quotes can be helpful in making a great-looking document, but at times, they can be a real pain. Wouldn’t it be ...

Discover More

Professional Development Guidance! Four world-class developers offer start-to-finish guidance for building powerful, robust, and secure applications with Excel. The authors show how to consistently make the right design decisions and make the most of Excel's powerful features. Check out Professional Excel Development today!

More ExcelTips (ribbon)

Finding a Worksheet with a Specific Value in a Specific Cell

If you have a lot of worksheets in workbook, finding the exact one you want can be a bit tricky. This tip looks at ...

Discover More

Disabling Moving Between Worksheets

If you want someone to not be able to move from one worksheet to another in a workbook, you've got your work cut out for ...

Discover More

Turning Off Worksheet Tabs

Look at the bottom of a worksheet and chances are you will see tabs for all the worksheets in the current workbook. Want ...

Discover More

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.


If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is six more than 6?

2018-08-25 06:10:32


I had this problem when I worked for a multi-national company and received sales data from over 20 marketing countries.

Often the files contained the default number of worksheets, usually 3, although only Sheet 1 contained the required data.
Sometimes the extra sheets contained useful data and sometimes they were HIDDEN !!

It was a time consuming task to check all of the extra worksheets manually, so I wrote a macro to do this automatically, see below.
At that time I was only interested in normal cell 'data', so the macro does not check for inserted comments, objects, pictures, etc.

I wrote this macro in the 1990s, so probably Excel 95. It still works for Excel 2010.
Since that time I have always started workbooks with only 1 worksheet, more can be added later if needed.

Sub EmptyWorksheets()

'Works in all situations, including for worksheets that have had data deleted BEFORE workbook is saved.
'Searches all worksheets in the currently active workbook, including HIDDEN worksheets.

'Note a cell is NOT empty if the cell contains a formula, even if the formula result is "".
'However, a cell IS empty if it ONLY has an attached comment, object or picture, etc.

Dim foundsheet, lastcell, countvalue, allcells

For Each foundsheet In Worksheets
lastcell = foundsheet.Cells.SpecialCells(xlLastCell).Address
'lastcell may have an higher value than expected if :-
'An empty cell has an attached comment (The cell is used, but defined as EMPTY by this macro).
'Some data has been deleted, but the workbook has not been SAVED, since
'the xlLastCell value is only reset to a LOWER value when the workbook is saved.
'However the xlLastCell value is automatically INCREASED if data is added to new columns/rows

allcells = "$A$1:" & lastcell
'Defines range of cells that may contain data.

countvalue = Application.WorksheetFunction.CountA(Worksheets(foundsheet.Name).Range(allcells))
'CountA function finds cells that contain data.

If countvalue = 0 Then 'No cells in use
If foundsheet.Visible Then
MsgBox "Worksheet # " & foundsheet.Name & " # is EMPTY"
Else 'sheet is hidden
MsgBox "Worksheet # " & foundsheet.Name & " # is HIDDEN and is EMPTY"
End If
Else 'At least 1 cell contains data
If foundsheet.Visible Then
MsgBox "Worksheet # " & foundsheet.Name & " # CONTAINS DATA"
Else 'sheet is hidden
MsgBox "Worksheet # " & foundsheet.Name & " # is HIDDEN and CONTAINS DATA"
End If
End If
Next foundsheet

End Sub

This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.