Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
so i have data validation from a range derived from variables as seen
below.... With Selection.Validation .Delete .Add Type:=xlValidateList, AlertStyle:=xlValidAlertStop, Operator:= _ xlBetween, Formula1:="=A7:A" & Range("EndOfProducts").Offset(-1, 0).Row .IgnoreBlank = True .InCellDropdown = True .InputTitle = "" .ErrorTitle = "" .InputMessage = "" .ErrorMessage = "" .ShowInput = True .ShowError = False so you can see that the range of my validation data is populated by variables...which is working great... the problem is...i need to edit it so that my drop down only shows unique items, and omits any blank cells.... is this possible? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
Try Google this newsgroup with your question. Skip blanks is a Validation option, so there should be a method for it. There is no "unique Items" option in validation. regards Paul Nigel wrote: so i have data validation from a range derived from variables as seen below.... With Selection.Validation .Delete .Add Type:=xlValidateList, AlertStyle:=xlValidAlertStop, Operator:= _ xlBetween, Formula1:="=A7:A" & Range("EndOfProducts").Offset(-1, 0).Row .IgnoreBlank = True .InCellDropdown = True .InputTitle = "" .ErrorTitle = "" .InputMessage = "" .ErrorMessage = "" .ShowInput = True .ShowError = False so you can see that the range of my validation data is populated by variables...which is working great... the problem is...i need to edit it so that my drop down only shows unique items, and omits any blank cells.... is this possible? |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
the ignore blanks doesn't ignore displaying them in the drop down, it
ignores them when validating the cell... there should be a way with VBA to accomplish both things.... it seems weird that it wouldn't be built in....what use is a drop down if it displaying duplicates? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Data Validation using Unique Values | Excel Discussion (Misc queries) | |||
Unique entry - Data Validation | Excel Discussion (Misc queries) | |||
Unique Data Validation | Excel Programming | |||
Data Validation dependant and unique | Excel Worksheet Functions | |||
Data Validation using List (But needs unique list in drop down lis | New Users to Excel |