LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 21
Default Pdf PrintOut and SendKeys


"Philippe" wrote in message
...
Hi,

I'm desperately trying to automate clicking on the save button of

PDFWriter
v5 dialog box.

Do you know how to use these sendKeys ?
I never did it, It seems damned simple, but I still can't get it to work !

This is one of the lines i've tried :
SendKeys "{ENTER}", False
ActiveWindow.SelectedSheets.PrintOut Copies:=1, ActivePrinter:="Acrobat
PDFWriter"


PDFWriter v5 supports a registry setting for bypassing this dialog box. I
think the setting is HKEY_CURRENT_USER\Software\Adobe\Acrobat
PDFWriter\PDFFileName. Set this to the filename you require. Note that when
the 'printing' has finished this registry setting will be wiped, so you can
poll it until it disappears before you attempt to print another copy.

HTH

Robert



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Printout using MFC Sachin Excel Worksheet Functions 0 August 4th 08 11:25 AM
no #VALUE! to printout garyww Excel Worksheet Functions 2 August 15th 06 04:19 PM
no #VALUE! to printout garyww Excel Worksheet Functions 1 August 15th 06 10:15 AM
Vba printout Curtis[_6_] Excel Programming 2 October 7th 04 08:46 PM
PRINTOUT Wayne Blosat Excel Programming 0 August 27th 03 09:07 PM


All times are GMT +1. The time now is 02:47 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"