A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Hi,
try this simple code...
(hide rows if cells in columns C and D are Zero)
Sub macro_01()
Dim x As Double
Dim RowFirst As Long
Dim RowLast As Long
Dim i As Long
RowFirst = 2
RowLast = 7
For i = RowFirst To RowLast
x = Cells(i, "C").Value + Cells(i, "D").Value
If x = 0 Then Rows(i).Hidden = True Else Rows(i).Hidden = False
Next
End Sub