Thread
:
Hide and printout area conditions
View Single Post
#
6
Posted to microsoft.public.excel.programming
Jarek[_6_]
external usenet poster
Posts: 1
Hide and printout area conditions
Hi,
add variable declaration at the first line:
Sub hide_rows2()
Dim i As Long
For i = 5 To 206
Rows(i).EntireRow.Hidden = Range("D" & i).Value = 0
Next i
End Sub
Jare
--
Message posted from
http://www.ExcelForum.com
Reply With Quote
Jarek[_6_]
View Public Profile
Find all posts by Jarek[_6_]