interior.colorindex causing problems
Hi puzzled,
try
Range("1:1").Interior.ColorIndex = xlNone
assuming you want to format column 1 with no colour
regards,
Peter T
"Ian" wrote in message
...
I cannot work out why the simple code below runs but then the egg
timer shows until you press the ok button.
If you comment out the first line it works fine with no egtimer.
i have tried various other ways of clearing the cells colour but
it is still the same.
i am puzzled.
Private Sub CommandButton1_Click()
Range("colA").Interior.ColorIndex = 0
MsgBox (" blah blah blah"), vbOKOnly
End Sub
|