You can set the On Format code to something like:
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
Dim lngLightGreen As Long
lngLightGreen = 13434828
If Me.Detail.BackColor = vbWhite Then
Me.Detail.BackColor = lngLightGreen
Else
Me.Detail.BackColor = vbWhite
End If
End Sub
You can set the On Format code to something like:
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
Dim lngLightGreen As Long
lngLightGreen = 13434828
If Me.Detail.BackColor = vbWhite Then
Me.Detail.BackColor = lngLightGreen
Else
Me.Detail.BackColor = vbWhite
End If
End Sub
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.