Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Conditional Selection VBA code | Excel Programming | |||
Conditional Selection | Excel Worksheet Functions | |||
Specific Conditional Selection | Excel Programming | |||
Conditional Formatting and selection | Excel Discussion (Misc queries) | |||
Conditional column selection | Excel Programming |