Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Why does the following macro jump to End Sub after it encountered the first
cell with 0 (zero) value instead of deleting the entire row? Values to be tested are in column B Sub RemoveRow() Range("B2:B30").Select Do Until ActiveCell.Value = 0 If ActiveCell.Value = 0 Then ActiveCell.EntireRow.Delete Else ActiveCell.Offset(1, 0).Select End If Loop End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Simple macro | Excel Discussion (Misc queries) | |||
Simple Macro | Excel Programming | |||
Simple macro help | Excel Discussion (Misc queries) | |||
Simple Macro Help | Excel Programming | |||
Simple help with macro please | Excel Programming |