Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default data validation vs. locked cells

The basics:

A B C D E I have a range of cells on a worksheet
1 1 2 3 1 3 that link to 3 different lists via
2 1 2 3 1 3 data validation (e.g. All cells in
3 1 2 3 1 3 columns C and E link to list 3). I am
4 1 2 3 1 3 using the data validation/list method
5 1 2 3 1 3 to limit user input to specific valid
entries ... I don't want them typing!

The program I have developed takes them from point A to
point B using forms that direct their course depending on
how they respond to questions along the way. All cells
are locked and all worksheets are protected.

The problem:

When they get to the worksheet containing the range I
described above, my goal was, via code, to unprotect just
that worksheet, unlock just cell A1, let them pick the
appropriate value from the data validation list, once a
value greater than zero is put in cell A1 then I wanted
to relock that cell, then unlock cell B1 so they can pick
a value for that cell and so on. When a value greater
than zero is put in cell E1 I want to relock cell E1 and
reprotect the worksheet. At no time should anyone be able
to put data into any cell that is not unlocked! BUT NO!,
even with all worksheet cells locked and the worksheet
protected, my folks are able to click any cell, get the
dropdown list from data validation and select a value for
the selected cell. I DON'T UNDERSTAND. Is there a way to
prevent access to the data validation lists until a
specific cell is unlocked? Or, is there a better way to
accomplish this? Your expert guidance is needed and will
be greatly, greatly appreciated!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 599
Default data validation vs. locked cells

CTR

I couldn't reproduce that problem. When I lock the cell and protect the
sheet, then try to select from the validation drop down list, I get the
standard "sheet is protect" message and it won't let me do it. What am I
doing different than you?

--
Dick Kusleika
MVP - Excel
www.dicks-clicks.com
Post all replies to the newsgroup.

"codytheretriever" wrote in message
...
The basics:

A B C D E I have a range of cells on a worksheet
1 1 2 3 1 3 that link to 3 different lists via
2 1 2 3 1 3 data validation (e.g. All cells in
3 1 2 3 1 3 columns C and E link to list 3). I am
4 1 2 3 1 3 using the data validation/list method
5 1 2 3 1 3 to limit user input to specific valid
entries ... I don't want them typing!

The program I have developed takes them from point A to
point B using forms that direct their course depending on
how they respond to questions along the way. All cells
are locked and all worksheets are protected.

The problem:

When they get to the worksheet containing the range I
described above, my goal was, via code, to unprotect just
that worksheet, unlock just cell A1, let them pick the
appropriate value from the data validation list, once a
value greater than zero is put in cell A1 then I wanted
to relock that cell, then unlock cell B1 so they can pick
a value for that cell and so on. When a value greater
than zero is put in cell E1 I want to relock cell E1 and
reprotect the worksheet. At no time should anyone be able
to put data into any cell that is not unlocked! BUT NO!,
even with all worksheet cells locked and the worksheet
protected, my folks are able to click any cell, get the
dropdown list from data validation and select a value for
the selected cell. I DON'T UNDERSTAND. Is there a way to
prevent access to the data validation lists until a
specific cell is unlocked? Or, is there a better way to
accomplish this? Your expert guidance is needed and will
be greatly, 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
custom data validation on cells with data validation values AKrobbins Excel Worksheet Functions 2 June 21st 11 04:20 PM
Locked worksheet & hyperlinks (w/ select locked cells unchecked) dgold82 Excel Discussion (Misc queries) 1 July 10th 09 09:42 PM
Data Validation on Locked Cell robbyp Excel Discussion (Misc queries) 2 January 20th 09 08:09 PM
Locked Cells with Data Validation Drop Down Lists Joe D Excel Discussion (Misc queries) 2 May 19th 08 03:44 PM
Macros to cells, formula only not data locked Margo Excel Worksheet Functions 4 November 3rd 07 12:22 PM


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