Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Get the total no. of worksheet & their name

Hi
With VBA, can I get the information about the total no. of worksheet under a workbook & their name?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Get the total no. of worksheet & their name


numWS = Activeworkbook.worksheets.count

for each ws in activeworkbook.worksheets
debug.print ws.name
next ws

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

wrote in message
...
Hi,
With VBA, can I get the information about the total no. of worksheet

under a workbook & their name?


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
Add total items in from another worksheet? tb Excel Worksheet Functions 0 February 17th 10 07:29 PM
i need to total weights on a worksheet norcalff_dm Excel Worksheet Functions 3 February 19th 07 06:33 PM
Summary total from another worksheet? tb Excel Worksheet Functions 1 January 18th 06 01:48 PM
Possible? If total in a worksheet 0, highlight worksheet tab? TKGerdie Excel Worksheet Functions 5 November 22nd 05 08:10 PM
Total No of Columns in Worksheet Andrew Schmidt Excel Programming 2 November 11th 03 03:15 AM


All times are GMT +1. The time now is 03:11 AM.

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

About Us

"It's about Microsoft Excel"