Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 441
Default Close Adobe Application from Excel? Anyone?

Does anyone know how to get a reference to Adobe and/or close the app?
I am using Windows XP with Office 2003 and Adobe Professional 6.

FYI, the following function starts Adobe, prints a file, and closes the
file. Now I want to close the app:

Public Function PDFPrintFile(argAdobeAppFullName As String,
argPDFFileToPrintFullName As String)
'START ADOBE APPLICATION AND PRINT A FILE
Shell argAdobeAppFullName & " /p /h " & argPDFFileToPrintFullName
End Function

Even if I use a return value with Shell, and try something like:

retVal.Quit

I get an error. Can anyone help? Thanks in advance.

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
Close Adobe Acrobat from Excel - attn: NickHK quartz[_2_] Excel Programming 0 February 16th 05 01:29 PM
Close Adobe Acrobat from Excel quartz[_2_] Excel Programming 2 February 16th 05 01:27 PM
Close Adobe after printing quartz[_2_] Excel Programming 0 January 31st 05 05:15 PM
Close a foreign application - ADOBE quartz[_2_] Excel Programming 0 January 28th 05 08:31 PM
macro to close excel application other than application.quit mary Excel Programming 1 September 14th 04 03:43 PM


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

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

About Us

"It's about Microsoft Excel"