Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

fso and folder looping

Status
Not open for further replies.

wotrac1

Technical User
Mar 22, 2005
3
GB
Sorry for this but I am a bit of a newbie at this.

I have a top level folder, containing multiple sub folders.
Each subfolder contains an Excel file, named Main.xls.

I want to extract data from one of the worksheets on the excel file.

What is the correct way to loop the folders to get at the excel file?


Thanks
 
Have you tried to search this forum for, say, subfolders

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Or if you look in the faq section you will find this:
faq329-5515

[red]"... isn't sanity really just a one trick pony anyway?! I mean, all you get is one trick, rational thinking, but when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick[/red]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top