View Single Post
  #3  
Old May 12th, 2005, 03:38 PM
Tim
external usenet poster
 
Posts: n/a
Default

that code works for the text, but I need it for the background color.

I tried

Select Case Me.txtBox
Case "ab"
me.txtBox.BackColor=255
Case Else
me.txtBox.BackColor=0
End Select
End Sub

(to highlight the entire box red) but it didn't work