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

When a worksheet is protected and a cell is locked then an Error message
appears whenever the user attempts to edit the cell.
Is there an event that I can tap into so that I can display my own message
and run my own routine instead of the standard message?

Thanks for any help
Fred


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default Protection Message

AFAIK, no.

In article ,
"Fred" <leavemealone@home wrote:

When a worksheet is protected and a cell is locked then an Error message
appears whenever the user attempts to edit the cell.
Is there an event that I can tap into so that I can display my own message
and run my own routine instead of the standard message?

Thanks for any help
Fred

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

Maybe you could just stop them from selecting locked cells on your worksheet:

Option Explicit
Sub auto_open()
With Worksheets("Sheet1")
.Protect Password:="hi"
.EnableSelection = xlUnlockedCells
End With
End Sub

And xl2002 added the ability to set the enableselection property via the
userinterface.

Fred wrote:

When a worksheet is protected and a cell is locked then an Error message
appears whenever the user attempts to edit the cell.
Is there an event that I can tap into so that I can display my own message
and run my own routine instead of the standard message?

Thanks for any help
Fred


--

Dave Peterson

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
Excel Data Protection Best Practice: AKA: Real Sheet Protection Mushman(Woof!)[_2_] Excel Discussion (Misc queries) 4 December 30th 09 01:20 AM
Excel Data Protection- AKA: Sheet/Macro Password Protection Mushman(Woof!) Setting up and Configuration of Excel 0 December 29th 09 06:50 AM
Hoping to disable Protection Warning message NFaye Excel Discussion (Misc queries) 4 December 10th 08 11:44 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


All times are GMT +1. The time now is 09:25 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"