How can I count number of sheets present in a workbook?
|
How can I count number of sheets present in a workbook?
in the immediate window in the VBIDE
?Activeworkbook.Sheets.Count if you just want the worksheets ?Activeworkbook.Worksheets.Count -- HTH Bob Phillips (replace somewhere in email address with gmail if mailing direct) "Imran" wrote in message ... |
All times are GMT +1. The time now is 01:56 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com