Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Data Validation
I want to have data validation on 15 cells only. These 15 cells are for
account numbers. I have a list of valid account numbers on a hidden worksheet. I've seen some comments on adding validation to a whole column. Can I progam the workbook, so the validation only applies to 15 cells on a specific sheet? Any suggestions or code to get me started would be appreciated. As always, Thanks for all of the help in this newsgroup..... -- JT |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Data Validation
turn on the macro recorder
Select the 15 cells, Manually apply the data=Validation. turn off the macro recorder. Examine the code (assumes you have a defined name that refers to the range of acceptable entries on the other sheet - which is a requirement to use data validation. ) there is no reason to apply data validation to the whole column if you only want to do it to 15 cells. -- Regards, Tom Ogilvy "JT" wrote: I want to have data validation on 15 cells only. These 15 cells are for account numbers. I have a list of valid account numbers on a hidden worksheet. I've seen some comments on adding validation to a whole column. Can I progam the workbook, so the validation only applies to 15 cells on a specific sheet? Any suggestions or code to get me started would be appreciated. As always, Thanks for all of the help in this newsgroup..... -- JT |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
custom data validation on cells with data validation values | Excel Worksheet Functions | |||
Validation Data using Validation Table cell range..... | Excel Discussion (Misc queries) | |||
data validation invalid in dynamic validation list | Excel Discussion (Misc queries) | |||
data validation invalid in dynamic validation list | Excel Worksheet Functions | |||
Data validation with validation lists and combo boxs | Excel Discussion (Misc queries) |