Need a macro to delete selected rows

  • Thread starter Thread starter RKettle
  • Start date Start date
R

RKettle

I need help to design an excel 97 macro that will delete
the currently selected row and a hidden one immediately
under it in their entirety.

Any help is appreciated
 
Sub testit()
Dim rng As Range

With ActiveCell.EntireRow
Set rng = Range(.Cells, .Offset(1, 0))
End With
rng.Delete xlUp
End Sub

Rob
 
Back
Top