Sendkeys to PDF Dialog Box?

EEK

Registered User.
Local time
Today, 07:15
Joined
Feb 2, 2006
Messages
20
Hi! I'm using Windows XP and Access 2003. I'm trying to send the enter key to a SAVE AS PDF Dialog box but can't get it to work!
Here is the code:
DoCmd.OpenReport (sReportName)
SendKeys "{Enter}", False

where sReportName is the name of the PDF file writing to the Adobe 5 Acrobat PDF Writer.
I can't close the Save as Dialog box.
Does anyone have any ideas?
I searched the forums and didn't come up with an answer.
Thanks.
Emil
 

Users who are viewing this thread

Back
Top Bottom