"Read Only Recommended": how to apply it to several files?

S

stphncr

Hi all,

I really appreciate the "read only recommended" which warns my colleagues
that they are about to modify files on our fileserver. However some very old
files are there without this flag, and some users sometimes forget to apply
this flag to their new documents.

Is it possible, by ANY MEANS, to modify all Office files in a folder (+its
subfolders) and put this flag ON for them? Here, any means includes external
software solutions, python routines, VBA scripts, a modification on all the
computers to force all documents to open after this warning, using something
else than Windows Explorer to open the files, ...

Any idea?

Is it the good post for my question? If anyone wants to suggest me to post
this elsewhere I am fully open!

THANKS :)
 
B

Bob I

You may set the Read only Attribute on ALL files in a folder in Windows
Explorer. Simply r-click on the folder and select properties, then check
the box for Read-Only and apply. That sets ALL the files contained to
read only.
 
S

stphncr

Thanks Bob, but this is the answer to another question. My question is
related to the read only RECOMMENDED flag, which has a different function and
different qualities...
 
B

Beth Melton

You can use a macro to loop through all of the files in the folder and set
this option, however, it will also change the last saved date if that's

For help with the macro you may want to check with the Word VBA
(Programming) group and see if anyone there has some sample code you can
modify.
~~~~~~~~~~~~~~~
Beth Melton
Microsoft Office MVP
https://mvp.support.microsoft.com/profile/Melton
What is a Microsoft MVP? http://mvp.support.microsoft.com/gp/mvpfaqs

Guides for the Office 2007 Interface:
http://office.microsoft.com/en-us/training/HA102295841033.aspx
 
Top