PC Review


Reply
Thread Tools Rate Thread

Conditional cell protection

 
 
=?Utf-8?B?UGF1bCBK?=
Guest
Posts: n/a
 
      25th Oct 2007
If the value in cell A1 <= 0 I want to be able to change the protection on
another range of cells from unlocked to locked. Any ideas how this can be
done?
--
Thanks


Paul

 
Reply With Quote
 
 
 
 
=?Utf-8?B?VG9tIE9naWx2eQ==?=
Guest
Posts: n/a
 
      25th Oct 2007
use the change event or the calculate event. It depends on how the value
will become less than zero.

http://www.cpearson.com/excel/events.aspx

beyond that, you have to unprotect the sheet and set the locked property to
false (or true) then reprotect the sheet. Code can be captured with the
macro recorder if you are not familiar.

--
Regards,
Tom Ogilvy


"Paul J" wrote:

> If the value in cell A1 <= 0 I want to be able to change the protection on
> another range of cells from unlocked to locked. Any ideas how this can be
> done?
> --
> Thanks
>
>
> Paul
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
conditional cell protection ijw Microsoft Excel Discussion 3 15th Apr 2006 07:58 AM
How do I set conditional protection to a cell =?Utf-8?B?QmlsbHk=?= Microsoft Excel Misc 1 31st Mar 2006 12:08 AM
Conditional Cell protection =?Utf-8?B?QnVsdGdyZW4=?= Microsoft Excel Misc 0 8th Nov 2005 11:50 AM
Conditional Cell Protection Joe Delaney Microsoft Excel Programming 1 22nd Oct 2005 08:45 PM
Conditional Cell Protection Gyges Microsoft Excel Misc 1 9th Mar 2005 08:43 PM


Features
 

Advertising
 

Newsgroups
 


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