Loop through workbooks and worksheets in each workbook

E

eric.fader

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
 
D

Don Guillett

this is the basic idea.

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top