Basically I have a macro which checks whether a cell is empty and if it is, it hides the row the cell is in. I want this to run every time the value of the cell (which contains a formula linked to another sheet) changes, how would I do this? I am a huge noob and have basically no knowledge of VBA at all...
Here is my macro:
[VBA]
Sub HideEmptyRowsB34()
Dim cell As Range
Rows("34").EntireRow.Hidden = False
For Each cell In ActiveSheet.Range("B34")
cell.EntireRow.Hidden = Len(cell.Text) = 0
Next cell
End Sub
[/VBA]
Any help would be greatly appreciated!
Tom