With VBA is it possible to highlight a row referring a cell in a column having multiple week number in format "W**".
for example: column R in below case will have W01, W03 .... I need to highlight only those particular cells.
I am stuck with the below format.
for example: column R in below case will have W01, W03 .... I need to highlight only those particular cells.
I am stuck with the below format.
VBA Code:
With Cells
.FormatConditions.Add Type:=xlExpression, Formula1:= _
"=($R1="" W** "")"
With .FormatConditions(.FormatConditions.Count)
.SetFirstPriority
With .Interior
.PatternColorIndex = xlAutomatic
.Color = 15983281
.TintAndShade = 0
End With
StopIfTrue = False
End With
End With