F
Floyd Forbes
I have an application that I need to be able to print a report to one of two
printer.
I have this code below behind a command button. But I get Run-time error 5
Invalid procedure call or argument. I think the problem is the printer name
in quotes.
Application.printer = Application.Printers("HP Laser 4100")
Docmd.OpenReport "MyReportName",acViewNormal
Application.Printer = Nothing
Floyd
printer.
I have this code below behind a command button. But I get Run-time error 5
Invalid procedure call or argument. I think the problem is the printer name
in quotes.
Application.printer = Application.Printers("HP Laser 4100")
Docmd.OpenReport "MyReportName",acViewNormal
Application.Printer = Nothing
Floyd