gibbo1715
11-28-2005, 08:40 AM
can anyone help me out with a piece of code please that will save me a load of time
I have a directory that contains 300 word documents
i need to make them all read only
Tried this to no avail :(
Dim Path As String
Path = ActiveDocument.Path
For Each Document In Path
SetAttr PathName:=ActiveDocument.Path, Attributes:=vbReadOnly
Next
End Sub
Any Ideas
Cheers
Gibbo
I have a directory that contains 300 word documents
i need to make them all read only
Tried this to no avail :(
Dim Path As String
Path = ActiveDocument.Path
For Each Document In Path
SetAttr PathName:=ActiveDocument.Path, Attributes:=vbReadOnly
Next
End Sub
Any Ideas
Cheers
Gibbo