I need to protect the sheet name by preventing
- any change to the sheet name, or
- the sheet being deleted.
This must be done without protecting the entire sheet using the Protect Sheet or Protect Workbook options.
Is there any way to do this with VBA?
This code disables the delete control on the sheet (but not right click on cell) menu when the sheet is activated. The control is enabled when the sheet is de-activated
The code will also name the sheet “NameOfSheet” when the sheet is de-activated. This is a workaround to prevent the sheet being renamed