G
Guest
I do not want to be asked to save the file everytime
Do While Not rst.EOF
path = rst!filepath
Set objDoc = objWord.Documents.Add(path & ".rpt")
Call FormatWord(objWord, objDoc)
objWord.ActivePrinter = "ScanSoft PDF Create!"
objDoc.PrintOut False, False, wdPrintAllDocument, path & ".pdf"
objDoc.Close False
rst.MoveNext
Loop
It works unitl this line
objDoc.PrintOut False, False, wdPrintAllDocument, path & ".pdf"
Then the PDF Converter Professional asks me to save the file but the PATH
has the file name and where I want the file saved.
How do I by pass the PDF save Prompt box
Thanks in advance.
Do While Not rst.EOF
path = rst!filepath
Set objDoc = objWord.Documents.Add(path & ".rpt")
Call FormatWord(objWord, objDoc)
objWord.ActivePrinter = "ScanSoft PDF Create!"
objDoc.PrintOut False, False, wdPrintAllDocument, path & ".pdf"
objDoc.Close False
rst.MoveNext
Loop
It works unitl this line
objDoc.PrintOut False, False, wdPrintAllDocument, path & ".pdf"
Then the PDF Converter Professional asks me to save the file but the PATH
has the file name and where I want the file saved.
How do I by pass the PDF save Prompt box
Thanks in advance.