1 Reply Latest reply on Feb 6, 2009 4:51 AM by (Kenn_E_Lucas)

    Command Line Switches


      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?

      Thank you