Executing SendKeys Statements

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to create a pdf file using my pdf writer. When printing the
report
(using acviewnormal on a docmd.openreport statement), the printer dialog box
comes up. I have seen where users are using sendkeys to define and close the
dialog box.
How do the sendkeys statements execute when, on dialogs, execution is
stopped until the dialog is closed ?
 
I recall that sendkeys is considered an application development no-no. Have
you thought about opening the report in print instead of normal? If you
open in print mode to the pdf writer it should create the file. Then you'll
probably have to copy or rename the file.

good luck
 
Back
Top