Hi,
Please can someone help?
If it is possible at all, I would like to edit this code so when it searches in the range for the largest number, it doesn't include the cell that has just been edited.
Any help would be much appreciated.
Regards
Dan
Please can someone help?
If it is possible at all, I would like to edit this code so when it searches in the range for the largest number, it doesn't include the cell that has just been edited.
Code:
Sub ShowMax(Optional ByVal Target As Range)
Dim TheMax As Double
TheMax = WorksheetFunction.Max(Range("D6:BM20"))
End Sub
Any help would be much appreciated.
Regards
Dan