Answer to Blog

Vishesh's picture

This is the solution to blog on url
http://excelexperts.com/help

Please see attached xl file.

AttachmentSize
FindSum.xls26 KB

Count of Excel sheets in workbook

Hi,

Please tell me How to count the total number of excel sheets in a workbook

NumberWorkSheets =

NumberWorkSheets = thisworkbook.worksheets.count

Not working

Not working

how are you using it ? .. if

how are you using it ?

.. if you have sheets other than worksheets, use Sheets.count