Hi ,
Could anyone please help on the below issue.
ole_1.insertfile("C:\test\CopyFile\IL 01 46 09 07.doc")
ole_1.activate(offsite!)
ole_1.Object.Application.Visible =false
ole_1.Object.Application.ActivePrinter = "Adobe PDF"
ole_1.Object.Application.ActiveDocument.PrintOut()
Above code converts word to pdf using acrobat 11 pro and connects to Adobe PDF printer.
Without specifying the destination file name(.pdf) , by default it is creating pdf file like (eg: Document_ole_1.pdf)
How to rename this pdf file name programatically ?
How to pass the pdf file name in above code?
Thanks in advance