Hello
Any advice is appreciated. I have the following code that works in another dB, but not in my current one I just created. I am getting a compile error: Variable not defined, on the word Detail. Any suggestions. Thank for your time
Private Sub secDetail_Format(Cancel As Integer, FormatCount As Integer)
Const conLtGray = 15263976
If Detail.BackColor = conLtGray Then
Detail.BackColor = vbWhite
Else
Detail.BackColor = conLtGray
End If
End Sub
Any advice is appreciated. I have the following code that works in another dB, but not in my current one I just created. I am getting a compile error: Variable not defined, on the word Detail. Any suggestions. Thank for your time
Private Sub secDetail_Format(Cancel As Integer, FormatCount As Integer)
Const conLtGray = 15263976
If Detail.BackColor = conLtGray Then
Detail.BackColor = vbWhite
Else
Detail.BackColor = conLtGray
End If
End Sub