C
Craig Coope
Hi,
I have this code
With Sheet1.Range(Runinfo1.ComboBox2.Value)
If .Range("b2") <> "" And .Range("b7") = "" And OptionButton2.Value = True
Then
..Range("b9").Interior.ColorIndex = 5
End If
I'm trying to change the colour of the cell if option2 button is selected
(after my command button is pressed) but it doesn't work. I'm assuming it is
the ".Range("b9").Interior.ColorIndex = 5" part...
Any ideas?
Cheers...
I have this code
With Sheet1.Range(Runinfo1.ComboBox2.Value)
If .Range("b2") <> "" And .Range("b7") = "" And OptionButton2.Value = True
Then
..Range("b9").Interior.ColorIndex = 5
End If
I'm trying to change the colour of the cell if option2 button is selected
(after my command button is pressed) but it doesn't work. I'm assuming it is
the ".Range("b9").Interior.ColorIndex = 5" part...
Any ideas?
Cheers...