Hi, thanks for th above macro. If the files are saved in a read-only folder. What would be the code?