whiteghost
Well-known Member
- Joined
- Nov 22, 2002
- Messages
- 500
Hi,
PCC gave me the code for disabling the "saveas"
private sub Workbook_BeforeSave(ByVal SaveAsUl As Boolean, Cancel As Boolean)
cancel = SaveAsUl
end sub
This works fine until the file is saved and closed. On reopening the file, this code has not been saved.
what am I doing wrong?
PCC gave me the code for disabling the "saveas"
private sub Workbook_BeforeSave(ByVal SaveAsUl As Boolean, Cancel As Boolean)
cancel = SaveAsUl
end sub
This works fine until the file is saved and closed. On reopening the file, this code has not been saved.
what am I doing wrong?