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

I need to rename the sheet tabs on the worksheets. Is
there a way to lock the renamed tabs so that no one else
can accidently change them?

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

Protect the workbook - at least the structure.

--
Regards,
Tom Ogilvy


Peter wrote in message
...
I need to rename the sheet tabs on the worksheets. Is
there a way to lock the renamed tabs so that no one else
can accidently change them?

Thanks.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Worksheet labels

Peter,

As you have posted in the programming group, I assume you want stable names
for your VBA code?

If so, you could use the codename property as users cannot change this in
Excel. The codename is the name NOT in brackets in the sheet names in the
VBE explorer. Usually both names are the same, but they don't have to be. To
change the codename, click the worksheet in the VBE, and change the name
property in the properties window.

To access a worksheet through its codename, use code like

Sheet1.Range("A1")
instead of
Worksheets("Sheet1").Range("A1")

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Peter" wrote in message
...
I need to rename the sheet tabs on the worksheets. Is
there a way to lock the renamed tabs so that no one else
can accidently change them?

Thanks.



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
print worksheet without ABC and 123 labels showing? JsQuilts New Users to Excel 2 May 1st 23 07:45 PM
Locking worksheet labels and box sizes Munchkin Excel Worksheet Functions 1 August 23rd 08 09:25 PM
Worksheet tab labels Brenda463 Excel Worksheet Functions 7 January 14th 08 10:22 PM
how do i get x axis labels to display the same as they do in a worksheet? [email protected] Charts and Charting in Excel 1 March 1st 07 01:02 PM
PRINTING LABELS FROM EXCELL WORKSHEET NORFUS New Users to Excel 3 May 12th 06 03:17 AM


All times are GMT +1. The time now is 10:52 AM.

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

About Us

"It's about Microsoft Excel"