Forgive me, but I am not overly good at coding....
It seems I can colour cells in a specific range if the cell the colour is dependant upon is in that range, but what I want to do is colour the cell next to the one that's value is between 2 To 5
What I've got so far, which isn't enough:
Private Sub Worksheet_Change(ByVal Target As Range)
Dim icolor As Integer
If Not Intersect(Target, Range("offers")) Is Nothing Then
Select Case Target
Case 2 To 5
icolor = 55
End Select
Target.Interior.ColorIndex = icolor
End If
End Sub
The cell I want to colour is the range "offers" but the cell the colour is dependant upon (i.e. the value 2 To 5) is in a different range....
Does that make sense?
Bookmarks