Is there a function to turn the cell protection on or off? For example in the attached spreadsheet, data is entered in the yellow-colored, unprotected cells in the top table. Calculations are recorded in the orange, protected cells. As a lazy way to avoid having to repeat data entry in the second table, there is a check box that controls whether the values in the first table are copied to the second table. If the box is unchecked (and cell B23 is "False") the analyst will manually enter the new set of data in the second table. For this reason the cells must remain unprotected to allow data entry when the spreadsheet is protected. Is there a way/function to turn on the cell protection when the checkbox is checked (B23=TRUE) and turn off the cell protection when the box is unchecked (B23=False). I tried using the function CELL but that just informs you of the condition of the cell. It does not control the cell format.
Bookmarks