billandrew
Well-known Member
- Joined
- Mar 9, 2014
- Messages
- 743
Good evening
Is there a way to highlight min value in separate ranges.
I am utilizing some code provided from an earlier thread. Could I use the following repeated?
The code is
<colgroup><col width="70" style="width:53pt"> </colgroup><tbody>
</tbody>
Is there a way to highlight min value in separate ranges.
I am utilizing some code provided from an earlier thread. Could I use the following repeated?
The code is
Sub FormatMin() |
Dim Col As Integer |
Dim Row As Integer |
Dim Row2 as Integer |
For Col = 1 To 11 |
For Row = 1 To 8 |
For Row2 = 9 to 18 |
If Cells(Row, Col) = WorksheetFunction.Small(Columns(Col), 1) Then |
Cells(Row, Col).Font.Bold = True |
End If |
Next Row |
Next Col |
Next Range |
If cells(Row2,Col) =WorksheetFunction.Small(Columns(Col),1)Then |
Cells(Row2,Col).Font.Bold = True |
End If |
Next Row2 |
Next Col |
End Sub |
<colgroup><col width="70" style="width:53pt"> </colgroup><tbody>
</tbody>