ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Data Validation: Allow "List" or "Whole number" (https://www.excelbanter.com/excel-programming/362910-data-validation-allow-list-whole-number.html)

monir

Data Validation: Allow "List" or "Whole number"
 
Hello;

The value in cell C8 is picked-up from a dropdown list.
The value in cell C9 is picked-up from a dropdown list based on the value
selected in C8 (using a VBA custom Function to generate the list)
The value in cell C10 is picked-up from a dropdown list based on the values
selected in C8 and C9 (using a VBA custom Function to generate the list).

The above data validation works fine and corresponds nicely to the desired
systematic computations (say, SysComp).

The question is: Is it possible to allow two (2) choices for the validation
criteria in C9 and C10 ?? ... one for the above-described data validation
(SysComp) and the other for "Whole number / between" (say, GenValue, for
general values).

Thank you kindly for your suggestion(s).

tony h[_123_]

Data Validation: Allow "List" or "Whole number"
 

I don't think you can do it using data validation on one cell.

You could split it up into two parts or use somethink like the
selection_change event and code behind that.


--
tony h
------------------------------------------------------------------------
tony h's Profile: http://www.excelforum.com/member.php...o&userid=21074
View this thread: http://www.excelforum.com/showthread...hreadid=547109



All times are GMT +1. The time now is 02:23 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com