Hi,
I am trying to edit values in a column using an autofilter and an error occurs when there are no rows selected. Is there a way to count how many rows have been selected? Or is there a completely different way to do this?
My code is:
[VBA]Selection.AutoFilter Field:=3, Criteria1:="A"
Range("A1").Offset(1, 2).Range(Selection, Selection.End(xlDown)) = "B"[/VBA]
Thanks