![]() |
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 |
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 |
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 |
All times are GMT +1. The time now is 05:11 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com