Dark0Prince
Active Member
- Joined
- Feb 17, 2016
- Messages
- 433
Code:
<code>Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)
MsgBox "You can't save this workbook!"
Cancel = True
End Sub
I can't seem to prevent the user from saving as and creating a new workbook, and yet still allow them to save the workbook regularly.
</code>