#1   Report Post  
Posted to microsoft.public.excel.misc
Pastel Hughes
 
Posts: n/a
Default inhibit input

I have created a form which has several cells (eg C3, C4, C5)
that have all LIST validation, where the "error alert" is set to
"information"
in order to allow entries that are not in the lists.
These validations work fine; but I would like to add a further condition
to these cells that would inhibit input,
in the event that another specific "key" cell (eg. A2) is blank,
as well as producing a message informing the user what remedial action to
take.
I'm afraid that I am at a bit of a loss as to how to proceed.
  #2   Report Post  
Posted to microsoft.public.excel.misc
Jim Rech
 
Posts: n/a
Default inhibit input

but I would like to add a further condition

Not possible with the Data Validation feature. You can have a list, as now,
or have a test on cell A2 (using Custom instead of List) but not both.

One kludgy compromise that comes to mind... The cells that comprise your
list for validation purposes could be formulas that return "" if the key
cell is blank. Like:

=IF($A$2="","","a")
=IF($A$2="","","b")

So then no matter what is entered it fails the validation.

Your error message could say that either key cell has no entry or a valid
list item wasn't entered.

--
Jim
"Pastel Hughes" wrote in message
...
|I have created a form which has several cells (eg C3, C4, C5)
| that have all LIST validation, where the "error alert" is set to
| "information"
| in order to allow entries that are not in the lists.
| These validations work fine; but I would like to add a further condition
| to these cells that would inhibit input,
| in the event that another specific "key" cell (eg. A2) is blank,
| as well as producing a message informing the user what remedial action to
| take.
| I'm afraid that I am at a bit of a loss as to how to proceed.


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
How can I have an input form to add a random no. to each input entry? saziz Excel Discussion (Misc queries) 2 January 25th 06 11:46 PM
***Two Input Data Tables*** rbekka Excel Discussion (Misc queries) 1 October 21st 05 02:05 PM
input box Monty Excel Discussion (Misc queries) 2 October 7th 05 08:33 AM
Input Form vba help mdalzell Excel Discussion (Misc queries) 0 April 8th 05 03:57 PM
can you input time (hh:mm:ss) without having to input the colon i. Lexicon Excel Discussion (Misc queries) 4 January 11th 05 02:09 PM


All times are GMT +1. The time now is 08:34 PM.

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"