Closing Acobat

  • Thread starter Michael Cochran
  • Start date
M

Michael Cochran

Everyone,

I am using Acrobat 7.0 Professional edition. In MS Access, I am using the
following lines of code to open and print the document.

sAcrobatReaderExe = "C:\Program Files\Adobe\Acrobat 7.0 Acrobat\Acrobat.exe"
retval = Shell(sAcrobatReaderExe & " /t " & " " & strFolder & strFile)

However, each time I loop through this code anothe instance of Acrobat opens
up.

Is there a command line switch to close the file?

Thanks,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top