S
stumpy
I am trying to check each column of a worksheet for the last row in each
column, then highlight that cell if it is below a set value.
The column and row count can be different every time data is imported.
using
CountRows=Range("C" & Rows.Count).End(xlUp).Select
If ActiveCell >0 then
If ActiveCell<5 then
ActiveCell.BorderAround _
ColorIndex:=3,Weight:= xlthick
End If
End If
This allows me to highlight the last cell in column c if the value is
between 0 and 5.
Is there any way to do this for all columns in a worksheet.
Forgive my serious lack of experience, any help is greatly appreciated
Rob
column, then highlight that cell if it is below a set value.
The column and row count can be different every time data is imported.
using
CountRows=Range("C" & Rows.Count).End(xlUp).Select
If ActiveCell >0 then
If ActiveCell<5 then
ActiveCell.BorderAround _
ColorIndex:=3,Weight:= xlthick
End If
End If
This allows me to highlight the last cell in column c if the value is
between 0 and 5.
Is there any way to do this for all columns in a worksheet.
Forgive my serious lack of experience, any help is greatly appreciated
Rob