Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Worksheet Protection

I am looking for a way to prevent users from renaming
sheets, but they need the capability to add and copy
sheets.

Thanks for your help.

Adria
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Worksheet Protection

There isn't a protection scheme that supports that. Perhaps you want to use
the codename of the sheet rather than the name/tab name.

--
Regards,
Tom Ogilvy

"Adria" wrote in message
...
I am looking for a way to prevent users from renaming
sheets, but they need the capability to add and copy
sheets.

Thanks for your help.

Adria



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Worksheet Protection

Hi Tom. The problem is that the sheet names are created
from a drop down created using data validation that
references a list on the same sheet.

If the user renames the sheet themselves, it breaks this
VB5 program that my boss wrote - I can't edit the program.
The user needs to be able to copy the sheets in the
workbook to copy the template sheet - but for some reason
it has to be named programatically. If they do it manually
the VB program craps out.

Thanks for your help. Please respond if you think of
anything.

Adria Bynum
-----Original Message-----
There isn't a protection scheme that supports that.

Perhaps you want to use
the codename of the sheet rather than the name/tab name.

--
Regards,
Tom Ogilvy

"Adria" wrote in

message
...
I am looking for a way to prevent users from renaming
sheets, but they need the capability to add and copy
sheets.

Thanks for your help.

Adria



.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Worksheet Protection

Put in code that remembers the names as they should be. Use the workbook
level selectionchange event to check the sheetnames and replace them if they
don't match.

--
Regards,
Tom Ogilvy

Adria wrote in message
...
Hi Tom. The problem is that the sheet names are created
from a drop down created using data validation that
references a list on the same sheet.

If the user renames the sheet themselves, it breaks this
VB5 program that my boss wrote - I can't edit the program.
The user needs to be able to copy the sheets in the
workbook to copy the template sheet - but for some reason
it has to be named programatically. If they do it manually
the VB program craps out.

Thanks for your help. Please respond if you think of
anything.

Adria Bynum
-----Original Message-----
There isn't a protection scheme that supports that.

Perhaps you want to use
the codename of the sheet rather than the name/tab name.

--
Regards,
Tom Ogilvy

"Adria" wrote in

message
...
I am looking for a way to prevent users from renaming
sheets, but they need the capability to add and copy
sheets.

Thanks for your help.

Adria



.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Worksheet Protection nhen5 Excel Discussion (Misc queries) 1 May 5th 07 03:04 AM
Worksheet protection frederick Excel Discussion (Misc queries) 3 December 14th 06 01:39 AM
Cell Protection vs. Worksheet Protection kmwhitt Excel Discussion (Misc queries) 4 September 24th 06 02:37 AM
Worksheet protection is gone and only wokbook protection can be se Eric C. Excel Discussion (Misc queries) 4 May 2nd 06 04:50 PM
worksheet protection yemi Excel Discussion (Misc queries) 3 May 20th 05 10:12 PM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"