G
Guest
Is is possible to open a Word file and save it to a PDF file from within the
code?
I use the following code to open the word file and save it:
Dim objWord As Word.Application
Set objWord = GetObject("", "word.application")
objWord.Visible = False
objWord.Documents.Open sOpenLoc & sOpenFile
objWord.ActiveDocument.SaveAs sDestLoc & sFile
objWord.Quit
Can I do something like this and save it to a PDF?
code?
I use the following code to open the word file and save it:
Dim objWord As Word.Application
Set objWord = GetObject("", "word.application")
objWord.Visible = False
objWord.Documents.Open sOpenLoc & sOpenFile
objWord.ActiveDocument.SaveAs sDestLoc & sFile
objWord.Quit
Can I do something like this and save it to a PDF?