I thought i had cracked it with the following code but all this does is record the new high/low balance in column Z even if the exposure does not = 0 for some reason.
Private Sub Worksheet_Calculate()
Dim LR As Long
LR = Me.Range("Z" & Rows.Count).End(xlUp).Row
If Range("AL2").Value = 0 Then
If Range("AI2").Value > Range("Z" & LR).Value Then Range("Z" & LR + 1).Value = Range("AI2").Value
End If
If Range("AI2").Value < Range("Z" & LR).Value Then Range("Z" & LR + 1).Value = Range("AI2").Value
End Sub
Any help please.
