Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 67
Default Conditionally protect a cell

I am using exell 2003. I want to allow access to a protected cell only if
the contents of another cell equal a certain value. for example: Cell b5 is
protected and the sheet is protected. If a user enters "Overweight" in cell
b2, I want them to be able to enter data into cell b5. With any other entry
in cell b2, I don't want them to be able to enter anything in cel b5. Can
this be done? I would appreciate any help.

Thanks,
Jim
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default Conditionally protect a cell

There is no way to conditionally lock a cell. In this case I would be
inclined to use custom validation. In the cell that you want protected add
the following
Data - Validation - Custom -
=B5 = "Overweight"
and uncheck allow blanks.

if you try to enter something into the cell and B5 < Overweight then an
error alert will pop up not allowing the change. Not that this can be
defeated by addin Overweight , making the change and then removing overweight.
--
HTH...

Jim Thomlinson


"bigjim" wrote:

I am using exell 2003. I want to allow access to a protected cell only if
the contents of another cell equal a certain value. for example: Cell b5 is
protected and the sheet is protected. If a user enters "Overweight" in cell
b2, I want them to be able to enter data into cell b5. With any other entry
in cell b2, I don't want them to be able to enter anything in cel b5. Can
this be done? I would appreciate any help.

Thanks,
Jim

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 67
Default Conditionally protect a cell

Thank you very much. That's not ideal, but I can make it work. I didn't
think of using that, but that will solve my problem.

Jim

"Jim Thomlinson" wrote:

There is no way to conditionally lock a cell. In this case I would be
inclined to use custom validation. In the cell that you want protected add
the following
Data - Validation - Custom -
=B5 = "Overweight"
and uncheck allow blanks.

if you try to enter something into the cell and B5 < Overweight then an
error alert will pop up not allowing the change. Not that this can be
defeated by addin Overweight , making the change and then removing overweight.
--
HTH...

Jim Thomlinson


"bigjim" wrote:

I am using exell 2003. I want to allow access to a protected cell only if
the contents of another cell equal a certain value. for example: Cell b5 is
protected and the sheet is protected. If a user enters "Overweight" in cell
b2, I want them to be able to enter data into cell b5. With any other entry
in cell b2, I don't want them to be able to enter anything in cel b5. Can
this be done? I would appreciate any help.

Thanks,
Jim

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
conditionally lock a cell? liketotrampoline Excel Discussion (Misc queries) 0 June 19th 08 01:43 AM
Conditionally hide a cell JeffH Excel Discussion (Misc queries) 1 June 18th 08 11:06 PM
Lock Cell Conditionally Katherine R Excel Discussion (Misc queries) 1 July 27th 07 06:20 PM
How to conditionally reference a cell Mike_n_TX Excel Worksheet Functions 3 May 13th 07 03:43 AM
How can you lock cell conditionally SAM SEBAIHI Excel Discussion (Misc queries) 5 December 4th 06 06:39 AM


All times are GMT +1. The time now is 03:02 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"