PC Review


Reply
Thread Tools Rate Thread

Cell Locking Question

 
 
Wayne
Guest
Posts: n/a
 
      27th Feb 2009
I have a feeling that this isn't possible, but I'll ask the question
anyway. Is there a way to lock cells but allow certain information to
be entered or changed, but not other information. For instance if the
possible entries into the cell are A, B and C, is it possible to allow
anyone to enter A or B, but only users with a password to enter C.

If this isn't possible using cell locking, is there another way to
work around it? Any help is greatly appreciated.
 
Reply With Quote
 
 
 
 
Elkar
Guest
Posts: n/a
 
      27th Feb 2009
There's a couple ways this might be accomplished. Give this a try:

Set up a new cell somewhere where your user can enter a password into. I'll
just use B1 for an example. Then, set up your possible data values in a
list. For example, in cells A1:A3. Use the following values.

A1 A
A2 B
A3 =IF(B1="Password","C","")

Set your Data Validation to accept a "List" and choose cells A1:A3 to
populate that list. Note that the List of valid entries will only include
"A" or "B" unless the user has typed in the correct password into cell B1.
Then, "C" becomes a valid entry. Just make sure that the password field is
cleared whenever the users are done entering data (this could also be
accomplished automatically with a VBA BeforeSave event).

You'll also want to set cell A3 up with a "Hidden Formula"
(Properties-->Protection-->Hidden) so that users won't be able to find out
the password by simply selecting that cell. Or, place your data list on a
separate worksheet, then hide that sheet.

HTH
Elkar


"Wayne" wrote:

> I have a feeling that this isn't possible, but I'll ask the question
> anyway. Is there a way to lock cells but allow certain information to
> be entered or changed, but not other information. For instance if the
> possible entries into the cell are A, B and C, is it possible to allow
> anyone to enter A or B, but only users with a password to enter C.
>
> If this isn't possible using cell locking, is there another way to
> work around it? Any help is greatly appreciated.
>

 
Reply With Quote
 
Pete_UK
Guest
Posts: n/a
 
      27th Feb 2009
Data Validation on the cell can be used to restrict the entry to A, B
or C, but I'm not sure how you could apply a password facility on top
of that.

Pete

On Feb 27, 12:13*am, Wayne <cqdigi...@volcanomail.com> wrote:
> I have a feeling that this isn't possible, but I'll ask the question
> anyway. *Is there a way to lock cells but allow certain information to
> be entered or changed, but not other information. For instance if the
> possible entries into the cell are A, B and C, is it possible to allow
> anyone to enter A or B, but only users with a password to enter C.
>
> If this isn't possible using cell locking, is there another way to
> work around it? *Any help is greatly appreciated.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel locking cell based on value in another cell =?Utf-8?B?S2Vsc29u?= Microsoft Excel Programming 1 10th Oct 2007 11:10 PM
Locking Cell dependent on Another Cell Value =?Utf-8?B?ZWwgem9ycm8=?= Microsoft Excel Misc 7 13th Aug 2007 09:54 PM
Cell locking dependent on Cell value =?Utf-8?B?R2FyZXRoIC0gTmV0d29yayBhbmFseXN0Lg==?= Microsoft Excel Misc 6 13th Jun 2006 03:55 PM
Dynamically locking a cell depending upon value of another cell. =?Utf-8?B?UGFuaw==?= Microsoft Excel Misc 0 12th May 2006 11:48 AM
Locking cell color while allowing data changes in cell Barb Microsoft Excel Misc 2 5th Sep 2003 01:07 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:15 PM.