Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default Cell Locking Question

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.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default Cell Locking Question

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.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Cell Locking Question

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 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
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
locking only one cell AJB Excel Discussion (Misc queries) 2 August 17th 07 09:40 AM
A question about locking or protecting a worksheet Meenie Excel Discussion (Misc queries) 2 February 8th 07 04:56 PM
locking formula in cells in without locking whole sheet SuziQ Excel Discussion (Misc queries) 1 July 21st 06 03:58 PM
QUESTION REGARDING LOCKING SPREADSHEETS AND PREFORMATTED CELLS TLAngelo Excel Discussion (Misc queries) 5 June 15th 06 03:04 AM
Locking a cell John Excel Worksheet Functions 1 December 17th 05 01:04 PM


All times are GMT +1. The time now is 07:57 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"