Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Peter T,
Thanks for the code, it worked great. Appreciate the help "Peter T" wrote: Sub test() Dim nValType As Long Dim rng As Range, cel As Range Set rng = Selection On Error Resume Next For Each cel In rng nValType = 0 nValType = cel.Validation.Type ' error if not validation If nValType = 0 Then ' no validation ElseIf nValType = xlValidateList Then ' dropdown list Else ' some other validation End If Next End Sub Regards, Peter T "Givnik" wrote in message ... I am validating a spreadsheet checking a range of cells and need to validate that all the cells in the range has a dropdown associated with it. Any ideas what the code is to do this..... |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
check or uncheck a check box based on a cell value | Excel Discussion (Misc queries) | |||
Copy and move check box (check boxes) with new cell link? | Excel Worksheet Functions | |||
Check if Conditional Format is True or False / Check cell Color | Excel Worksheet Functions | |||
DROPDOWN LIST AND CHECK BOX | Excel Discussion (Misc queries) | |||
Conditional Format with VBA - Interior Colour of cell based on value from in-cell dropdown | Excel Programming |