Hello I have made a program in Excel which will print out an Acrobat PDF file after the print button is pressed. The problem is that I cannot make the PDF file not to open and still print. Here is my code
Dim FileName As String '
FileName = "I:\Test\test.pdf"
Set myShell = CreateObject("WScript.Shell")
myShell.Run ("Acrobat.exe /t" & FileName)
I looked at the command line in window documentation from Adobe and have used /h, even with the /h itself, the file still opens up.
Thank you,
Janoose
Dim FileName As String '
FileName = "I:\Test\test.pdf"
Set myShell = CreateObject("WScript.Shell")
myShell.Run ("Acrobat.exe /t" & FileName)
I looked at the command line in window documentation from Adobe and have used /h, even with the /h itself, the file still opens up.
Thank you,
Janoose