Do this, get into your form in Design view, right click on your command button for PRINT, and go to properties. then go to the "On Click" event in the "EVENT" tab. It should say [Event Procedure] in the "On Click" Event, this is the Print procedure for this command button (VBA). Click once inside the [Event Procedure] area and you should get a drop down arrow and a "..." next to it. Click on the "..." and it should bring you to the visual basic editor.
In the Editor, you will automatically be in the VBA code that you are wanting to edit. It should look something like this . . .
Private Sub btn_printreport_Click()
On Error GoTo Err_btn_printreport_Click
I hope you understand that, I hope it helps, and I hope I am right . . . if I am wrong, please let me know not to post any more non-helpful hints . . . hehe
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.