I modified the PDF module so that it should now save to the same folder as the document, unless you are using the document as a template in which case the new document won't have a path. If you are doing that either save the document first, or change the line
strFilename = ActiveDocument.Path & _
to
strFilename = ThisDocument.Path & _
which will save the PDF in the same folder as the 'template'.
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
|