Help w/Conditional Formatting Code

  • Thread starter Thread starter TotallyConfused
  • Start date Start date
T

TotallyConfused

I have used up my conditional formatting options in Conditional Formatting.
I am trying to add two more conditions via code and need help with syntax
please. Thank you in advance for any help you can provide.

Private Sub Form Current()
If Me![FieldName] = 1 or 2 Then
Me!PtName.BackColor = 33023
Else
Me!PtName.BackColor = 0
End If
 
ciao said:
I have used up my conditional formatting options in Conditional
Formatting. I am trying to add two more conditions via code and need
help with syntax please. Thank you in advance for any help you can
provide.


Private Sub Form Current()

If Me![FieldName] = 1 or Me![FieldName] = 2 Then
 
Back
Top