count worksheets
Sub sheets_num()
MsgBox ActiveWorkbook.Sheets.Count & " sheets in workbook"
End Sub
Gord Dibben MS Excel MVP
On Wed, 12 Dec 2007 16:26:00 -0800, Jo wrote:
can you tell how many worksheets are in your workbook without physically
counting them? I have renamed my sheets so they're not consecutively
numbered any more.
|