With regards to "But when saved to .docx i need a copy of that version in .pdf format"
Do you mean every time you save the document you create a PDF?
Or is it fine to run the above code manually when you are ready to?
To do the first, you need an Application Events class and to use the BeforeSave event.
|