ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Counting number of worksheets in a Excel 2007 (https://www.excelbanter.com/excel-worksheet-functions/251800-counting-number-worksheets-excel-2007-a.html)

Y D

Counting number of worksheets in a Excel 2007
 
Dear Sir,
I am using MS office 2007, and want to know what is command/formula to count
the number of worksheets in a Excel.
I deals with some taxation matter wherein I need to have hundreds of sheets
in a file.

Thank in advance.

Rick Rothstein

Counting number of worksheets in a Excel 2007
 
From within Excel code, Worksheets.Count will return the number of
worksheets in the workbook.

--
Rick (MVP - Excel)


"Y D" <Y wrote in message
...
Dear Sir,
I am using MS office 2007, and want to know what is command/formula to
count
the number of worksheets in a Excel.
I deals with some taxation matter wherein I need to have hundreds of
sheets
in a file.

Thank in advance.




All times are GMT +1. The time now is 02:48 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com