View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.newusers
Don Guillett Don Guillett is offline
external usenet poster
 
Posts: 10,124
Default hiding multiple lines in excel

Sub hiderows()
For i = Cells(rows.Count, "a").End(xlUp).row To 2 Step -3
rows(i).Hidden = True
Next i
End Sub

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Khardy3352" wrote in message
...
I am using custom views from a master document to filter information. I
would
like to hide evry 2nd & 3rd row. Because the document has approx 2000+
rows,
is there a way to do so without recording a macro while I manually hide
every
2nd & 3rd row?

Be kind, I am a rookie