ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Save as Read-Only (https://www.excelbanter.com/excel-programming/379154-save-read-only.html)

hurlbut777

Save as Read-Only
 
I have a folder that contains numerous excel files. What I would like to do
is loop through the folder and make all the files read-only with the
read-only password being "test". I can create the loop code, I'm just having
trouble with the read-only piece. Can one with more knowledge than me please
assist?

Corey

Save as Read-Only
 
FileFormat:=xlNormal, Password:="test", ReadOnlyRecommended:=True,
CreateBackup:=False


Corey....


"hurlbut777" wrote in message
...
I have a folder that contains numerous excel files. What I would like to
do
is loop through the folder and make all the files read-only with the
read-only password being "test". I can create the loop code, I'm just
having
trouble with the read-only piece. Can one with more knowledge than me
please
assist?





All times are GMT +1. The time now is 05:58 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com