Executing SendKeys Statements

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 ?
 
L

Lance McGonigal

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top