conditional formatting in report

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need to "shade" values in the detail section of a report that are lower
than company averages (the company averages are listed in a section footer)
 
Susan,
Use the OnFormat event of the report section that has your value fields...
If [SomeValue] < 100 Then
SomeValue.BackColor = &HEEEEEE 'or your choice of color
Else
SomeValue.BackColor = &HFFFFFF 'white
End If
 
Back
Top