Trying to have VBA loop through sheets and color tab red if K1 on each sheet is > 0. What I have so far fails to loop through sheets, just colors active sheet:
Sub IfJNegRedTab()
'
'
'
Dim sht As Worksheet
For Each sht In ActiveWorkbook.Worksheets
Range("K1").Select
ActiveCell.FormulaR1C1 = "=COUNTIF(C[-1],""<0"")"
If Range("K1").Value > 0 Then
With ActiveWorkbook.ActiveSheet.Tab
.Color = 255
.TintAndShade = 0
End With
End If
Next sht
'
End Sub