I haven't used the conditional formatting feature much in Access -- I tend to use the OnFormat event for the report section. Try this:
1. Go into design view on the report. Right-click the Detail band, select Properties, and go to the OnFormat event.
2. Click the Builder (...) and select Code from the popup.
3. You should be in Private Sub Detail_Format
4. Try this code:
Code:
If [Status]="Closed" Then
[Name].BackColor=255 'red
Else
[Name].BackColor=16777215 'white
End If
We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel
Which adblocker are you using?
Disable AdBlock
Follow these easy steps to disable AdBlock
1)Click on the icon in the browser’s toolbar. 2)Click on the icon in the browser’s toolbar. 2)Click on the "Pause on this site" option.
Go back
Disable AdBlock Plus
Follow these easy steps to disable AdBlock Plus
1)Click on the icon in the browser’s toolbar. 2)Click on the toggle to disable it for "mrexcel.com".
Go back
Disable uBlock Origin
Follow these easy steps to disable uBlock Origin
1)Click on the icon in the browser’s toolbar. 2)Click on the "Power" button. 3)Click on the "Refresh" button.
Go back
Disable uBlock
Follow these easy steps to disable uBlock
1)Click on the icon in the browser’s toolbar. 2)Click on the "Power" button. 3)Click on the "Refresh" button.