Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Loop through workbooks and worksheets in each workbook

Hi:

I am looking for a code sample that will loop through all excel
workbooks and all of worksheets within each of the workbooks.

Can someone please provide some insight into how to accomplish this?

Thanks,
Eric

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,124
Default Loop through workbooks and worksheets in each workbook

this is the basic idea.

for each wb in workbooks
for each ws in worksheets
do thing
next ws
next wb

--
Don Guillett
SalesAid Software

wrote in message
oups.com...
Hi:

I am looking for a code sample that will loop through all excel
workbooks and all of worksheets within each of the workbooks.

Can someone please provide some insight into how to accomplish this?

Thanks,
Eric



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
Copy worksheets from several workbooks into one workbook DSK 604 via OfficeKB.com Links and Linking in Excel 1 May 30th 10 03:47 PM
Detach different WORKSHEETS in one WORKBOOK into DIFFERENT WORKBOOKS Positive Excel Worksheet Functions 7 August 12th 07 12:13 AM
2 Workbooks and 6 Worksheets - Need to Populate 1 Workbook MichelleS Excel Worksheet Functions 15 October 28th 06 10:26 PM
Include Worksheets From Workbooks into ONE new Workbook tcgaines Excel Programming 4 December 15th 05 06:44 PM
Copying Several Workbooks into one Workbook as Worksheets Blue_Crystal New Users to Excel 1 May 26th 05 02:19 PM


All times are GMT +1. The time now is 10:33 PM.

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"