Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 109
Default How do you close acrobat reader using excel VBA

I'm able to use excel to peint the PDF files, buit would like to know the
command in VBA to close the application once the printing is complete.

also for powerpoint also

Thanks
--
Helping Is always a good thing
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default How do you close acrobat reader using excel VBA

Maybe you can send ctrl-Q in a sendkeys statement.


QuietMan wrote:

I'm able to use excel to peint the PDF files, buit would like to know the
command in VBA to close the application once the printing is complete.

also for powerpoint also

Thanks
--
Helping Is always a good thing


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 109
Default How do you close acrobat reader using excel VBA

any idea on the syntax???
--
Helping Is always a good thing


"Dave Peterson" wrote:

Maybe you can send ctrl-Q in a sendkeys statement.


QuietMan wrote:

I'm able to use excel to peint the PDF files, buit would like to know the
command in VBA to close the application once the printing is complete.

also for powerpoint also

Thanks
--
Helping Is always a good thing


--

Dave Peterson

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default How do you close acrobat reader using excel VBA

Well, Tom used:
Application.SendKeys "^p~", False
to print

So maybe something like:
Application.SendKeys "^Q~", False



QuietMan wrote:

any idea on the syntax???
--
Helping Is always a good thing

"Dave Peterson" wrote:

Maybe you can send ctrl-Q in a sendkeys statement.


QuietMan wrote:

I'm able to use excel to peint the PDF files, buit would like to know the
command in VBA to close the application once the printing is complete.

also for powerpoint also

Thanks
--
Helping Is always a good thing


--

Dave Peterson


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default How do you close acrobat reader using excel VBA

http://puremis.net/excel/code/083.shtml

But, he says the /t switch didn't work for him and I found another post that
sys it quit working starting with acrobat 5.0. Apparently it works in
version 4 if you have that on your computer.

--
Regards,
Tom Ogilvy



"QuietMan" wrote:

any idea on the syntax???
--
Helping Is always a good thing


"Dave Peterson" wrote:

Maybe you can send ctrl-Q in a sendkeys statement.


QuietMan wrote:

I'm able to use excel to peint the PDF files, buit would like to know the
command in VBA to close the application once the printing is complete.

also for powerpoint also

Thanks
--
Helping Is always a good thing


--

Dave Peterson



Reply
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
Help with Shell to Acrobat Reader Jimbo[_4_] Excel Programming 1 September 1st 06 10:05 PM
Opening Acrobat Reader using VBA vetron Excel Programming 2 January 27th 06 02:07 PM
Opening Acrobat Reader using VBA Raam Excel Discussion (Misc queries) 4 November 14th 05 09:34 PM
Print Acrobat Reader PDF file from VBA Matthias Claes Excel Programming 1 October 28th 05 10:02 AM
how sendKeys to Acrobat Reader Ian Elliott[_3_] Excel Programming 3 October 23rd 03 06:45 PM


All times are GMT +1. The time now is 01:18 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"