Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
tlosgyl3
 
Posts: n/a
Default Protected Sheet Message


Excel has a default message that appears when someone tries to change a
protected sheet. Can this message be edited to something more helpful.

I know that I can do this using Data/Validation but this doesn't work
on a Protected Sheet with all cells locked


--
tlosgyl3
------------------------------------------------------------------------
tlosgyl3's Profile: http://www.excelforum.com/member.php...o&userid=28074
View this thread: http://www.excelforum.com/showthread...hreadid=491017

  #2   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Protected Sheet Message

You can't change the message, but you can stop them from selecting locked cells
on a protected sheet.

Option Explicit
Sub auto_open()
Dim wks As Worksheet
Set wks = Worksheets("sheet1")
With wks
.Protect password:="hi"
.EnableSelection = xlUnlockedCells
End With
End Sub

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

tlosgyl3 wrote:

Excel has a default message that appears when someone tries to change a
protected sheet. Can this message be edited to something more helpful.

I know that I can do this using Data/Validation but this doesn't work
on a Protected Sheet with all cells locked

--
tlosgyl3
------------------------------------------------------------------------
tlosgyl3's Profile: http://www.excelforum.com/member.php...o&userid=28074
View this thread: http://www.excelforum.com/showthread...hreadid=491017


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
tlosgyl3
 
Posts: n/a
Default Protected Sheet Message


Many thanks I'll give it a go. New to macros too so thanks for the
link.

GD


--
tlosgyl3
------------------------------------------------------------------------
tlosgyl3's Profile: http://www.excelforum.com/member.php...o&userid=28074
View this thread: http://www.excelforum.com/showthread...hreadid=491017

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
Still can select locked cells in protected sheet Andy New Users to Excel 11 October 29th 05 07:45 PM
Allow unprotected cells to spell check after sheet is protected Numberonekraut (Hans) Excel Worksheet Functions 1 September 15th 05 07:55 PM
TEX TO COLUMNS PROTECTED SHEET Jeracho Excel Discussion (Misc queries) 1 August 26th 05 09:51 PM
Does excel recognise names rather than cells? Sue Excel Worksheet Functions 9 May 22nd 05 04:51 AM
Macro Errs when sheet is protected Skankles Excel Worksheet Functions 1 February 10th 05 06:44 PM


All times are GMT +1. The time now is 02:34 AM.

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"