with VBA
Function WSNum()
WSNum = Activeworkbook.Worksheets.Count
End Function
--
HTH
RP
(remove nothere from the email address if mailing direct)
"Vincdc" wrote in message
...
Hello:
Is there any function or other method to count the number of worksheets in
a
workbook? I have a workbook which includes dozens of worksheets (each for
one
client) and I would like to know the total number of clients.
Thanks in advance!
|