Maximum # of worksheets in workbook

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hey Gang,

Anybody know if there is a limit on the number of worksheets you can create in a single workbook?
 
Hi nik59
Like some other features with Excel this is limited by the available memory
on your system.

HTH
Cordially
Pascal

nik59 said:
Hey Gang,

Anybody know if there is a limit on the number of worksheets you can
create in a single workbook?
 
There is a max of 256 worksheets per workbook.
-----Original Message-----
Hey Gang,

Anybody know if there is a limit on the number of
worksheets you can create in a single workbook?
 
Hi Rlo,
There is a max of 256 worksheets per workbook.

Nope, number of worksheets depends on available resources.
This code happily adds 300 sheets (Excel XP):

Sub test()
Dim i As Integer
For i = 1 To 300
ThisWorkbook.Worksheets.Add
Next
End Sub


Regards,

Jan Karel Pieterse
Excel MVP
www.jkp-ads.com
 
See Papou's reply - the number's limited by available memory.

--
Regards
Andy Wiggins
www.BygSoftware.com
Home of "Save and BackUp",
"The Excel Auditor" and "Byg Tools for VBA"
 
rlo

The default number of sheets in a new workbook(Tools>Options>General "sheets
in a new workbook" is maxed at 255, but you can add more once the workbook is
open.

Gord Dibben Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top