Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Conditional cell protection

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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Conditional cell protection

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
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
How do I set conditional protection to a cell Billy Excel Discussion (Misc queries) 1 March 31st 06 12:08 AM
Conditional Cell protection Bultgren Excel Discussion (Misc queries) 0 November 8th 05 11:50 AM
Conditional Cell Protection Joe Delaney Excel Programming 1 October 22nd 05 08:45 PM
Conditional Cell Protection Gyges Excel Discussion (Misc queries) 1 March 9th 05 08:43 PM
Conditional formating - cell protection Bdavis Excel Discussion (Misc queries) 0 February 11th 05 09:15 PM


All times are GMT +1. The time now is 09:25 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"