Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Do Until Loop Not Working
Sub HideRow() Range("B15").Select Do Until ActiveCell = "STOP" If ActiveCell.Value = 0 Then ActiveCell.EntireRow.Hidden = True ActiveCell.Offset(1, 0).Select Else ActiveCell.Offset(1, 0).Select Loop End Sub |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Do Until Loop Not Working
Sub HideRow()
Range("B15").Select Do Until ActiveCell = "STOP" If ActiveCell.Value = 0 Then ActiveCell.EntireRow.Hidden = True ActiveCell.Offset(1, 0).Select Else ActiveCell.Offset(1, 0).Select End if Loop End Sub -- Regards, Tom Ogilvy "PJFry" wrote: Sub HideRow() Range("B15").Select Do Until ActiveCell = "STOP" If ActiveCell.Value = 0 Then ActiveCell.EntireRow.Hidden = True ActiveCell.Offset(1, 0).Select Else ActiveCell.Offset(1, 0).Select Loop End Sub |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Loop Not Working | Excel Programming | |||
Why is this loop not working? | Excel Programming | |||
Loop not working!! | Excel Programming | |||
Do...Loop not working | Excel Programming | |||
for next loop not working | Excel Programming |