Can anyone help change colors in the following code:
Code
Private Sub printcurent_Click()
On Error GoTo Err_printcurent_Click
'change background color on record to white
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.PrintOut acSelection
Exit_printcurent_Click:
Exit Sub
Err_printcurent_Click:
MsgBox Err.Description
Resume Exit_printcurent_Click
'change color back
End Sub
Display More
I tried to use some excel vba I know, but they are obviously not as interchangeable as I would wish.