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 |
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 |
All times are GMT +1. The time now is 04:54 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com