Hi,
I have the following code, which works fine to prevent people saving my file when I'm using excel 2007 (at work), however when I use it on my home computer, on excel 2013, the message pops up but I can still save the file, can anyone tell me why and how to fix it:
"Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)
MsgBox ("The 'Save As' function has been disabled")
Cancel = True
End Sub"
Thanks
Tom
Bookmarks