A resource for users and developers of Microsoft Excel |
|||||||||
| Email us your FAQ suggestion. |
|||||||||
Visit often ! Pages are updated daily. |
|||||||||
This is the Excel "How to" Frequently Asked Questions page |
|||||||||
Answers to Frequently Asked Questions about how to do common tasks in Microsoft Excel. |
|||||||||
Excel "How to" FAQs |
| How to know how many sheets my workbook can hold? |
| Answer |
This question has no definitive answer because it depends on the individual computer's processor speed, RAM, and available memory. Most workbooks can support over 1,000 worksheets. You can learn how many worksheets your workbook can hold by running the following macro, which, when it fails, will contain the count of worksheets that is the answer, at least at that moment depending on other tasks you were running and how much memory was available when you ran this macro: Sub MaxSheets() When I ran this macro, the run time error ocurred when more than 5400 worksheets had been added, albeit all of which were empty but it gives the indication for how many worksheets your workbook can hold. No workbook application should ever be designed to hold that many sheets, so the answer to this question as derived by the above macro is more academic than practical.
|