LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
KR KR is offline
external usenet poster
 
Posts: 121
Default Intercept/replace standard 'cell protected' message with my own message?

I have a workbook where the users will be expected to input all data via a
userform (to ensure standardization of information), and the data that is
submitted will be added to a worksheet that has cells locked/protected.

Currently, a user can select a cell, but if they try to edit it, they get
the standard Excel "this cell is protected, if you want to change it
unprotect the sheet, and you may be asked for a password" message.

Is there a way for me to intercept whatever event is firing, and pop up my
own custom message box so I can tell the user /why/ the sheet is locked?
something more like "This sheet is protected to ensure data integrity.
Please enter all data through the userform. If you need to edit or delete
data please contact (name)"

Any help would be greatly appreciated.
Thanks,
Keith

--
The enclosed questions or comments are entirely mine and don't represent the
thoughts, views, or policy of my employer. Any errors or omissions are my
own.


 
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
Assign Error message to Standard toolbar icon Learning Excel Discussion (Misc queries) 0 January 14th 10 12:57 AM
Intercept protection message Jim at Eagle Excel Programming 4 April 30th 05 09:00 PM
Unprotect Sheet - Removal of standard Message Darin Kramer Excel Programming 7 April 1st 05 03:02 AM
Replace a warning message...on protected cell mika Excel Programming 2 August 12th 04 01:30 PM
Getting protected cell error message when calculating (F9) Ellis Horowitz Excel Programming 1 May 20th 04 02:26 AM


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