Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello all
I want to hold in memory the highest value in the column. Then I want to compare that value with every cell in that column. I would like to be able to flag those lower values or highlight them. Any help would be much appreciated. Thank You. 'Dims Set rng3 = Range(Range("H17"), Range("H77").End(xlUp)) Dim ifirst As Integer ifirst = 0 For Each c3 In rng3 If ifirst = 0 Then Masterc3 = c3 ifirst = 1 Else varMasterc3 = Split(Masterc3, ".") varComParec3 = Split(c3, ".") ''Get highest value in each split If varMasterc3(1) varComParec3(1) Then c3.Interior.ColorIndex = 24 Else Masterc3 = c3 End If Next 'If InStr(1, c3.Text, "1.3.0.0", vbTextCompare) = 0 And c3.Text < "" Then 'c3.Interior.ColorIndex = 24 'End If If CheckBox2.Value = False Then Call CLRColourRange2 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Compare two worksheets with "contains" and not "exact" values | Excel Worksheet Functions | |||
in Excel: How do I change "selected cells" highlight color? | New Users to Excel | |||
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell | Excel Discussion (Misc queries) | |||
Compare cells in column A ("ID") to column A ("ID)in two differen. | Excel Worksheet Functions | |||
How do I set "tab" or "arrow" key to automatically highlight a cel | Excel Discussion (Misc queries) |