ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   auto protection of cells (https://www.excelbanter.com/excel-worksheet-functions/17419-auto-protection-cells.html)

castro

auto protection of cells
 
Imagine someone is putting figures representing hours worked in a worksheet
under the correct weekday, job, etc .
Can I automatically protect cell entries imediately after being filled
(previously were blank) to avoid accidentally over writing them..??
and in the event that I do indeed want to overwrite (because the operator
made a mistake) allow me to do so perhaps after ticking some okay box ??


Don Guillett

You could use a worksheet_change event to make it automatic to:
unprotect
change the cell(s) to locked
protect

--
Don Guillett
SalesAid Software

"castro" wrote in message
...
Imagine someone is putting figures representing hours worked in a

worksheet
under the correct weekday, job, etc .
Can I automatically protect cell entries imediately after being filled
(previously were blank) to avoid accidentally over writing them..??
and in the event that I do indeed want to overwrite (because the operator
made a mistake) allow me to do so perhaps after ticking some okay box ??





All times are GMT +1. The time now is 05:22 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com