Good afternoon, I'm just trying to start something really simple but, using this macro, Excel stops responding for the longest time. I'm fairly confident that it's not the work's network, although that could never be discounted, and I just can't see that there's anything here that would cause anything to have a fit!! It does sort of hesitate a bit on the colouring bit when I F8 through it. Is there any better way to achieve cell colouring?
Many thanks,
D€$
Code:
Sub My_Sams_PTL_Colouring()
'
Dim RowNum As Long
Dim a As Long
Dim x As Long
RowNum = Range("D2").End(xlDown).Row 'Last row of existing used rows
For a = 3 To RowNum 'Loop through the rows) to find a match on rows with TrackingNotes
If Range("S" & a) <> "" Then
Range("D" & a).Interior.Color = RGB(252, 213, 180) 'Fleshy, pinky Orange
Range("S" & a).Interior.Color = RGB(252, 213, 180) 'Fleshy, pinky Orange
End If
Next a
End Sub
Many thanks,
D€$