I'd like a macro to clear all cells in a given range on a worksheet UNLESS it has (specifically) LIST validation. (In that case I want to make it = 'Select'.)
So... I need the macro to:
1)check all cells within a range on the sheet 2)if the cell does NOT have (specifically) LIST validation it will make the cell = "" 3)if the cell DOES have (specifically) LIST validation it will make the cell = 'Select'
Something like this:
Dim x as variant
with thisworkbook.sheets("audits")
For each x in .range("A6:AZ200")
if x.validationtype = "list" then
x.value = "Select"
else
x.value = ""
end if
next x
end with
Thanks!