S
Sean
I want to change the background color of some control buttons. Is this
possible? Here is some code I've tried:
Private Sub Form_Open(Cancel As Integer)
'Define Variable names for Colors
Dim lngGray As Long, lngBlack As Long
'Define Colors
lngGray = RGB(225, 225, 225)
lngBlack = RGB(0, 0, 0)
Me![btnSaveBox].BorderColor = lngGray
Me![btnSaveBox].ForeColor = lngBlack
Me![btnSaveBox].BackColor = lngGray
End Sub
possible? Here is some code I've tried:
Private Sub Form_Open(Cancel As Integer)
'Define Variable names for Colors
Dim lngGray As Long, lngBlack As Long
'Define Colors
lngGray = RGB(225, 225, 225)
lngBlack = RGB(0, 0, 0)
Me![btnSaveBox].BorderColor = lngGray
Me![btnSaveBox].ForeColor = lngBlack
Me![btnSaveBox].BackColor = lngGray
End Sub