MimiTchoupie
New Member
- Joined
- Oct 25, 2022
- Messages
- 3
- Office Version
- 365
- 2021
- Platform
- Windows
Hello,
I have a problem with my Private Sub BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean) and it's driving me nuts ! I hope somebody will be able to help.
I had a code to cancel every save and it worked ! (th code down there)
I had to disable it temporarily (by adding ' ) . What happened next is almost hyllarious : I reactivated it and, as the code is made for unabling the saves, I CAN'T SAVE MY CODE !
I'm desperate... please help me !
I have a problem with my Private Sub BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean) and it's driving me nuts ! I hope somebody will be able to help.
I had a code to cancel every save and it worked ! (th code down there)
VBA Code:
Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)
Cancel = True
End Sub
I had to disable it temporarily (by adding ' ) . What happened next is almost hyllarious : I reactivated it and, as the code is made for unabling the saves, I CAN'T SAVE MY CODE !
I'm desperate... please help me !
