S
Sarah0824
I have been reading the posts about how to use the Print Dialog box and
everything I've read says to add code to my menu buttons. I'm pretty new at
using code, so I'm not sure how/where to do this.
I have already created the custom menu and want to have the Print Dialog box
display when the user clicks the menu button. I have seen the code
On Error Resume Next
DoCmd.SelectObject acReport, Screen.ActiveReport.Name
DoCmd.RunCommand acCmdPrint
posted on this site, but I don't know where to put it. I have tried
creating a macro that runs when the button is selected, but it doesn't seem
to be working. Am I going about this all wrong? Please help!! Thank you!!
everything I've read says to add code to my menu buttons. I'm pretty new at
using code, so I'm not sure how/where to do this.
I have already created the custom menu and want to have the Print Dialog box
display when the user clicks the menu button. I have seen the code
On Error Resume Next
DoCmd.SelectObject acReport, Screen.ActiveReport.Name
DoCmd.RunCommand acCmdPrint
posted on this site, but I don't know where to put it. I have tried
creating a macro that runs when the button is selected, but it doesn't seem
to be working. Am I going about this all wrong? Please help!! Thank you!!