Sub Highlight_Min_Value() Dim rng As Range For Each rng In Selection If rng = WorksheetFunction.Min(Selection) Then rng.Style = "Good" End If Next rng End Sub
Highlight Min Value In The Range excel macro code: It will check all the selected cells and highlight the cell with the Minimum value.