Villalobos
Active Member
Hi,
I have this code in ThisWorkbook to avoid that the user "SAVE AS" the workbook (the "SAVE" function is allowed) under different name or even in a different location, but unfortunately I able to "SAVE AS" it and I do not know why?!
Do you have any idea how to disable only the "SAVE AS" function? I use Excel2013.
Thank you the reply!
I have this code in ThisWorkbook to avoid that the user "SAVE AS" the workbook (the "SAVE" function is allowed) under different name or even in a different location, but unfortunately I able to "SAVE AS" it and I do not know why?!
Code:
Private Sub Workbook_BeforeSave (ByVal SaveAsUI As Boolean, Cancel As Boolean)
If SaveAsUI = True Then Cancel = True
End Sub
Do you have any idea how to disable only the "SAVE AS" function? I use Excel2013.
Thank you the reply!