Conditional row selection
hi
try this..
change..
activerow.select
selection.delete shift:=xlup
to....
Activecell.entirerow.delete shift:=xlup
truthfully, i don't think there is such a thing as activerow.
Regards
FSt1
"Vee" wrote:
I posted this before but can't find it, so here it is again.
I am trying to delete and entire row if column "A" contains "Void". Below
is the code that I have written. It wigs out when I try to select the entire
row.
Do While ActiveCell.Value < ""
If ActiveCell.Value = "Void" Then
ActiveRow.Select
Selection.Delete Shift:=xlUp
Else
ActiveCell.Offset(1, 0).Select
End If
|