Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Loop learning
Hiding entire row, if value in cell in column B is Yes.
Private Sub CAT() Dim i As Long For i = 1 To 25 If Cells(i, 2).Value = "Yes" Then Rows(i).EntireRow.Hidden = True End If Next i End Sub Instead of using i = 1 to 25, can't I use the Count property? How would I do that? -- Howard |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Learning VBA | Excel Programming | |||
Learning VBA | Excel Programming | |||
CDs and learning excel | Charts and Charting in Excel | |||
Just learning VBA.. | Excel Programming | |||
Learning VBA | Excel Programming |