|
-
Feb 15th, 2012, 09:50 AM
#3
Addicted Member
Re: Modify files by looping through all folders and subfolders
 Originally Posted by ktech35
I've been looking for a way to run a macro sub to loop through all files in a chosen folder and all its subfolders.
The simplest way is a recursive loop with the FileSystemObject. Whilst the Dir command in your code can be used for this, it requires more supporting code to handle the recursion.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|