Hi,
Is there a shell command syntax in VBA that will close all open instances of
Adobe Acrobat?
I have a routine which prints reports to PDF.
Users then generally open the PDF's to check them.
If they then go to reprint the reports to PDF, and users haven't closed the
PDF's, then they get the message that PDF's are open and have to be closed
first.
I'd like to have a comand at the top of my printing routine that closes all
open instances of Acrobat.
Thanks.
Alan
Stefan Hoffmann - 22 Jan 2007 10:47 GMT
hi Alan,
> Is there a shell command syntax in VBA that will close all open instances of
> Adobe Acrobat?
Take a look at pskill (SysInternals). Afaik it takes process names as
argument.
mfG
--> stefan <--
Alex Dybenko - 22 Jan 2007 11:10 GMT
Hi,
and here API stuff to close applications:
http://www.mvps.org/access/api/api0025.htm

Signature
Best regards,
___________
Alex Dybenko (MVP)
http://alexdyb.blogspot.com
http://www.PointLtd.com
> Hi,
>
[quoted text clipped - 15 lines]
>
> Alan
Alan Z. Scharf - 22 Jan 2007 17:05 GMT
Stefan and Alex,
Thanks very much.
Those were exactly what I needed!
Regards,
Alan
> Hi,
>
[quoted text clipped - 15 lines]
>
> Alan