ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Sheet NameTab Protection (https://www.excelbanter.com/excel-programming/327191-sheet-nametab-protection.html)

Nigel[_7_]

Sheet NameTab Protection
 
Hi All
Can anyone advise how to protect the sheet name tab?
I have protected the sheet but the Tab can still be
edited. I want to stop users from changing names as these
are used in VBA for navigation.

Cheers
Nigel

keepITcool

Sheet NameTab Protection
 
Nigel

you cant unless you protect the workbook's structure

however!....
have you considered using the sheets CODEnames for navigation?
these are independent of the name that's visible to (and changeable by)
the user.




--
keepITcool
| www.XLsupport.com | keepITcool chello nl | amsterdam


Nigel wrote :

Hi All
Can anyone advise how to protect the sheet name tab?
I have protected the sheet but the Tab can still be
edited. I want to stop users from changing names as these
are used in VBA for navigation.

Cheers
Nigel


Fredrik Wahlgren

Sheet NameTab Protection
 

"Nigel" wrote in message
...
Hi All
Can anyone advise how to protect the sheet name tab?
I have protected the sheet but the Tab can still be
edited. I want to stop users from changing names as these
are used in VBA for navigation.

Cheers
Nigel


You have to protect the workbook to achieve this.

/Fredrik



Nigel

Sheet NameTab Protection
 
Thanks for the replies. I will look into the CODE names

--
Cheers
Nigel



"Fredrik Wahlgren" wrote in message
...

"Nigel" wrote in message
...
Hi All
Can anyone advise how to protect the sheet name tab?
I have protected the sheet but the Tab can still be
edited. I want to stop users from changing names as these
are used in VBA for navigation.

Cheers
Nigel


You have to protect the workbook to achieve this.

/Fredrik





Nigel

Sheet NameTab Protection
 
Hi keepITcool,

What a great tip. I never knew that (there a lots of them!). I also like
the fact having set the code name at design time, I can refer directly to
the sheet without the Sheets(index) or Worksheets(index) approach. Users
can change the tab and hence name as much as the like!

--
Cheers
Nigel



"keepITcool" wrote in message
.com...
Nigel

you cant unless you protect the workbook's structure

however!....
have you considered using the sheets CODEnames for navigation?
these are independent of the name that's visible to (and changeable by)
the user.




--
keepITcool
| www.XLsupport.com | keepITcool chello nl | amsterdam


Nigel wrote :

Hi All
Can anyone advise how to protect the sheet name tab?
I have protected the sheet but the Tab can still be
edited. I want to stop users from changing names as these
are used in VBA for navigation.

Cheers
Nigel





All times are GMT +1. The time now is 03:50 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com