View Single Post
 
Old 11-21-2022, 12:48 PM
MurphyMom MurphyMom is offline Mac OS X Office 2021
Novice
 
Join Date: Nov 2022
Posts: 5
MurphyMom is on a distinguished road
Default Loop through all .doc documents in all folders and subfolder, convert, save as to a different folder

Hi there,

I'm not even sure if this is possible, but I am asked to loop through all folders and subfolders for every instance of a folder called "Cannot Upload". In that folder there will be old format ".doc" files that need to be converted to ".docx". They then want these converted docx files to be saved to a new folder within the current Cannot Upload folder called "Converted Files".

I tried everything I know (although admittedly, that isn't a lot) and can get the code to work for one file, but it won't on the rest AND I don't know how to loop through subfolders.

Any help would be greatly appreciated!
Reply With Quote