A couple of thing don't look right...
Note the additional "\". This also looks punky...Call ApplyMacroToAllFiles("C:\test folder\")
This also doesn't seem right but it's hard to tellFor Each objSubFolder In objFolder
HTH. DaveCall ApplyMacroToAllFiles(objSubFolder.Path)