B
bob
the following adds autofilter to a protected sheet but the autofilter turns
off if it is already there. what statement is required bypass setting
autofilter if it is already on
thanks
' add autofilter back
Range("W12:AL12").Select
Selection.AutoFilter
're protect test sheet but allow filter
ActiveSheet.EnableAutoFilter = True
'ActiveSheet.EnableOutlining = True '///////
ActiveSheet.Protect Contents:=True, userInterfaceOnly:=True
off if it is already there. what statement is required bypass setting
autofilter if it is already on
thanks
' add autofilter back
Range("W12:AL12").Select
Selection.AutoFilter
're protect test sheet but allow filter
ActiveSheet.EnableAutoFilter = True
'ActiveSheet.EnableOutlining = True '///////
ActiveSheet.Protect Contents:=True, userInterfaceOnly:=True