A
ANDREW MC
Is there a way to prevent the deletion of rows that fall between the rows
that are showing when filtering for certain cases?
that are showing when filtering for certain cases?
Bernie Deitrick said:Andrew,
It works fine for me in XL XP on Windows XP SP2.
But given your described symptoms, try changing it to:
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
On Error Resume Next
Application.EnableEvents = False
If Target.Cells.Count > 1 Then _
Target.SpecialCells(xlCellTypeVisible).Select
Application.EnableEvents = True
End Sub
HTH,
Bernie
MS Excel MVP