How to prevent worksheet name change automatically with VBA. When you send out the same workbook for data entry to multiple people then you may want to prevent the worksheet name change. This will help to consolidate data from different people into a master workbook. Watch the video below:
Here’s the complete VBA code to disallow change of name of a worksheet.
Private Sub Workbook_Open()
ActiveWorkbook.Protect Password:=”takyar”, Structure:=True
Watch this video on YouTube.