Hi Hannes,
Yes, you are talking event code. This code will make a row hidden if the
cell in column H is empted. Note that crucial qualification, if it is
emptied, it will not affect any rows where H is already empty.
As worksheet code, it goes in the worksheet event code module. Right-click
on the sheet name tab, select View Code, and paste this code in
Private Sub Worksheet_Change(ByVal Target As Range)
Application.EnableEvents = False
On Error GoTo ws_exit
If Target.Column = 8 Then
If Target.Value = "" Then
Target.EntireRow.Hidden = True
End If
End If
ws_exit:
Application.EnableEvents = True
End Sub
--
HTH
Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)