Is there any way to prevent or detect the change of a particular worksheet's tab name? -
I have a workbook with 30 or so worksheets. I have code that makes direct reference to the names of these sheets on their tabs. I want to prevent the user from changing the name of these 3 tabs, while still allowing them to change the other 27 at will.
Is there any way to say somthing like:
OnWorkbookClose
If Sheet1.TabName <> "myName" then
Sheet1.TabName = "myName"
End if
Thanks Q: Why is my computer doing that?
A: Random Perversity of Inanimate
Objects
I have a workbook with 30 or so worksheets. I have code that makes direct reference to the names of these sheets on their tabs. I want to prevent the user from changing the name of these 3 tabs, while still allowing them to change the other 27 at will.
Is there any way to say somthing like:
OnWorkbookClose
If Sheet1.TabName <> "myName" then
Sheet1.TabName = "myName"
End if
Thanks Q: Why is my computer doing that?
A: Random Perversity of Inanimate
Objects