P
Peter Andrews
I automatically save a copy of a file to a communal location (Y drive), so
that other persons may read it, using the following code:
Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As
Boolean)
'save copy to Network Storage Folder (Y Drive)
ActiveWorkbook.SaveCopyAs "Y:\" & ActiveWorkbook.Name
End Sub
This works fine but how do I make this copy a read only file?
Peter
that other persons may read it, using the following code:
Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As
Boolean)
'save copy to Network Storage Folder (Y Drive)
ActiveWorkbook.SaveCopyAs "Y:\" & ActiveWorkbook.Name
End Sub
This works fine but how do I make this copy a read only file?
Peter