GODZILLA
Registered User.
- Local time
- Yesterday, 16:46
- Joined
- Mar 15, 2010
- Messages
- 70
Hello,
I currently have this bit of code For Each ObjFile In objFolder.Files, which is looking at each file with in a specfic folder.
What im now looking to do is have it look at every file within a folder with in an other folder or directory.
Can anyone pont me in the right direction.
Thanks
I currently have this bit of code For Each ObjFile In objFolder.Files, which is looking at each file with in a specfic folder.
What im now looking to do is have it look at every file within a folder with in an other folder or directory.
Can anyone pont me in the right direction.
Thanks
Code:
Dim ObjFSO As FileSystemObject
Dim objFolder As Folder
Dim ObjFile As File
Set ObjFSO = CreateObject("Scripting.FileSystemObject")
Set objFolder = ObjFSO.GetFolder(strpath)
For Each ObjFile In objFolder.Files