Hi Matt

Originally Posted by
Cressie
... the code seems to no longer be looking into the sub folders and doing the requested "Stuff" only to the file that the macro is in. ....
That is very weird!! - There is even a check in the codes to specifically prevent anything being done to the workbook that the code is in!! ( Apart from the Putting the date stamp in at the end )
The codes are still working at my end. ( That is to say checking criteria for, and then when met opening then closing all .xls files in any Folders or Sub Folders. )*****
Maybe check the demo code again, then apply the full codes to the same Folders and files that you had that working with.
Very difficult working at this distance to guess what is happening at your end.
As always try to go through the code in Debug ( F8) mode and find the point at which it is not doing what it should, then hover over variables with the cursor, and see if they have in them what they should have. For example correct file names and paths etc.
Alan
P.s. ***** Remenber you still need to add the actual code lines you want between any opening or closing of files for the actual main stuff you want done - But that should be obvious from what the message boxes say and the comments in the code:
Bookmarks