View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Binzelli[_4_] Binzelli[_4_] is offline
external usenet poster
 
Posts: 1
Default VBA- Counting the number of the sheets

Timse,

these two should do the job:

Activeworkbook.Sheets.Count

OR

Workbooks("name").Sheets.Count

Good luc

--
Message posted from http://www.ExcelForum.com