Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Process Worksheets

I need to process worksheets in a workbook. Is there a
way to loop through all of the worksheet names in an open
workbook?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 172
Default Process Worksheets

Dim wSht as Worksheet

For Each wSht in ActiveWorkbook.Worksheets
' Your processing code here.
Next wSht

HTH
Paul
--------------------------------------------------------------------------------------------------------------
Be advised to back up your WorkBook before attempting to make changes.
--------------------------------------------------------------------------------------------------------------

I need to process worksheets in a workbook. Is there a
way to loop through all of the worksheet names in an open
workbook?


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
If/then Process? Zane B Stein Excel Discussion (Misc queries) 1 December 20th 05 03:27 PM
Speed up the process Ali Baba Charts and Charting in Excel 2 October 3rd 05 06:40 PM
search multiple worksheets name with common text and process using mango Excel Worksheet Functions 1 December 22nd 04 02:11 PM
Open & process multiple worksheets then move them to different folder. Prasad Vanka Excel Programming 1 May 18th 04 03:26 PM
Process Theads rudolpsh[_2_] Excel Programming 2 January 23rd 04 09:22 AM


All times are GMT +1. The time now is 06:24 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"