ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Close Adobe after printing (https://www.excelbanter.com/excel-programming/322047-close-adobe-after-printing.html)

quartz[_2_]

Close Adobe after printing
 
I have the following function which starts Adobe, opens a file, prints the
file, and closes the file. Does anyone know how to also close the Adobe App
as well?

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

Thanks much in advance.


All times are GMT +1. The time now is 08:33 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com