View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Filips Benoit Filips Benoit is offline
external usenet poster
 
Posts: 28
Default Test if cell.validation is set

Dear All,

This codeline triggers an error if no validation is set (any value)

If ActiveCell.Validation.Type = xlValidateList Then

How can I first test if validation is set ?

If 'ActiveCell.valudation is set ' then
If ActiveCell.Validation.Type = xlValidateList Then
..................code........................
end if
end if

Thanks,

Filips