ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How to lock a cell (https://www.excelbanter.com/excel-worksheet-functions/120997-re-how-lock-cell.html)

Ken Wright

How to lock a cell
 
You've already been given the answer of DV, BUT, be aware that DV is easily
bypassed, and the user could simply copy a cell with a negative number and
paste it straight over that cell which will effectively remove the DV.

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

----------
It's easier to beg forgiveness than ask permission :-)



"Skjetve" wrote:

How do you lock a cell, so the user can only write positive numbers in it?



All times are GMT +1. The time now is 12:20 PM.

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