Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Batch convert Word files to PDFs' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Batch convert Word files to PDFs
Authored by: jdo017 on Mar 19, '07 05:11:23PM
Great hint, but I think this code won't return that pesky error:

Sub PrintPDF()

Dim docLoop As Document

For Each docLoop In Documents
  docLoop.PrintOut
  ActiveDocument.Close
Next docLoop

End Sub

---
God invented the integers, all else is the work of man.

[ Reply to This | # ]