Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
JonM4
 
Posts: n/a
Default How can you find how many worksheets in a workbook?

We have a really big project going on with a lot of seperate worksheets in
one workbook. Is there a quick way to find out how many 'tabs' are in the
book?
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

In the VBE immediate window

?Activeworkbook.Worksheets.Count

--
HTH

Bob Phillips

"JonM4" wrote in message
...
We have a really big project going on with a lot of seperate worksheets in
one workbook. Is there a quick way to find out how many 'tabs' are in the
book?



  #3   Report Post  
Gary's Student
 
Posts: n/a
Default

Open the VB editor, then open Project Explorer, all the tabs will be neatly
listed
--
Gary's Student


"JonM4" wrote:

We have a really big project going on with a lot of seperate worksheets in
one workbook. Is there a quick way to find out how many 'tabs' are in the
book?

  #4   Report Post  
Dana DeLouis
 
Posts: n/a
Default

Just throwing this idea out as it's not the best vs. the vba solution of
"Activeworkbook.Worksheets.Count"

Before you open your "Big" workbook, note the number of open sheets with the
worksheet function:
=INFO("numfile").

Say there are "x" number of open sheets.

Then after you open your project, have a cell with
=INFO("numfile") - x

HTH
--
Dana DeLouis
Win XP & Office 2003


"JonM4" wrote in message
...
We have a really big project going on with a lot of seperate worksheets in
one workbook. Is there a quick way to find out how many 'tabs' are in the
book?



  #5   Report Post  
JonM4
 
Posts: n/a
Default

This worked out great. Of course EXCEL and VB sort into 1s, 2s etc rather
than sequential numbering...but it STILL is quicker than clicking each sheet
or going to Properties and tallying the contents!

Thanks to you, Bob and Dana for posting.

"JonM4" wrote:

We have a really big project going on with a lot of seperate worksheets in
one workbook. Is there a quick way to find out how many 'tabs' are in the
book?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I compare data in two worksheets to find matching cells? Gary Excel Discussion (Misc queries) 4 March 2nd 06 09:04 PM
How to search multiple worksheets in a workbook for information? medic2816 Excel Discussion (Misc queries) 2 March 29th 05 02:41 PM
Viewing Worksheets withing One Workbook cagedbirdflies New Users to Excel 1 February 22nd 05 11:09 PM
find links to another workbook Patricia Excel Discussion (Misc queries) 1 January 21st 05 09:33 PM
Removing links to other worksheets from within a workbook rjb Excel Discussion (Misc queries) 2 December 9th 04 08:04 AM


All times are GMT +1. The time now is 08:17 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"