Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello. The code below is mostly from the recorder which inserts data
validation for a continuous range. My question is this - Can I make the range to insert the data validation into be the range (in column B) that has a 1 in column Z? For example, if cell Z1 has a 1 in it, then create the data validation in cell B1, and so on all the way down to the bottom of the list in column B. Thanks in advance!! wks.Range("B5:B" & wks.Range("D65536").End(xlUp).Row).Select With Selection.Validation .Delete .Add Type:=xlValidateList, AlertStyle:=xlValidAlertStop, Operator:= _ xlBetween, Formula1:="Y,N" .IgnoreBlank = True .InCellDropdown = True .InputTitle = "" .ErrorTitle = "" .InputMessage = "" .ErrorMessage = "" .ShowInput = True .ShowError = True End With |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
xls data validation question 2 | Excel Discussion (Misc queries) | |||
Validation Data using Validation Table cell range..... | Excel Discussion (Misc queries) | |||
Question about range in validation list | Excel Discussion (Misc queries) | |||
Data Validation Question | Excel Worksheet Functions | |||
Data Validation Question | Excel Programming |