Thread
:
Counting the number of Worksheets in a Workbook
View Single Post
#
2
Posted to microsoft.public.excel.worksheet.functions
Gary L Brown
external usenet poster
Posts: 219
Counting the number of Worksheets in a Workbook
This user defined function will do it...
Public Function WksCount() As Integer
WksCount = Application.Worksheets.Count
End Function
HTH,
--
Gary Brown
If this post was helpful, please click the ''Yes'' button next to ''Was this
Post Helpfull to you?''.
"Bill from Holland Michigan" wrote:
I want to show how many sheets I have in a workbook using a formula. The
number changes everyday. What do I use, or can I even do this?
Reply With Quote
Gary L Brown
View Public Profile
Find all posts by Gary L Brown