>>There's closing parenthesis missing. It should be
iif(apfdef.issurety,RGB(255,255,255),RGB(255,0,0))
>
>Yep, silly me... that did the trick but now I see the white background if I click on that red cell... am I missing something?
I think, it's textbox's Backcolor/Forecolor.
--sb--