ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   EXCEL: Protect a cell depending on another cell value (https://www.excelbanter.com/excel-worksheet-functions/113898-excel-protect-cell-depending-another-cell-value.html)

frenchflo

EXCEL: Protect a cell depending on another cell value
 
Hello

I need a formula to protect a specific cell depending on the value of
another cell. For example, if(A2=0, protect(A3), "")
If A2=0, I do not want anyone to be able to modify in anyway A3

Thanks for your help

Gary L Brown

EXCEL: Protect a cell depending on another cell value
 
Functions only return information. They can't change an object. You need a
macro to do that.
HTH,
--
Gary Brown

If this post was helpful, please click the ''Yes'' button next to ''Was this
Post Helpfull to you?''.


"frenchflo" wrote:

Hello

I need a formula to protect a specific cell depending on the value of
another cell. For example, if(A2=0, protect(A3), "")
If A2=0, I do not want anyone to be able to modify in anyway A3

Thanks for your help



All times are GMT +1. The time now is 03:44 PM.

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