rarogersonkf
Programmer
I have the following snippet
With ActiveCell.Offset(R, 0).EntireRow
If .Interior.ColorIndex = 35 Then
.Interior.ColorIndex = 36
Else
.Interior.ColorIndex = 35
End If
End With
The problem is that the entire row is selected (ActiveCell.Offset(R, 0).EntireRow). What I would like to do is only select a range of colums (for example B to D).
Can someone point me in the correct direction.
Thanks in advance,
Rob
With ActiveCell.Offset(R, 0).EntireRow
If .Interior.ColorIndex = 35 Then
.Interior.ColorIndex = 36
Else
.Interior.ColorIndex = 35
End If
End With
The problem is that the entire row is selected (ActiveCell.Offset(R, 0).EntireRow). What I would like to do is only select a range of colums (for example B to D).
Can someone point me in the correct direction.
Thanks in advance,
Rob