interior.colorindex causing problems
Oops - that's exactly what I meant!
Thanks for correcting.
Regards,
Peter T
"Tom Ogilvy" wrote in message
...
If
assuming you want to format column 1 with no colour
Think you meant
Range("A:A").Interior.ColorIndex = xlNone
or
Columns(1).Interior.ColorIndex = xlNone
rather than
Range("1:1").Interior.ColorIndex = xlNone
which would be Row 1.
--
Regards,
Tom Ogilvy
"Peter T" <peter_t@discussions wrote in message
...
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
|