Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

Try setting 'save copy' to true

doc.SaveAs(outputPath, True)

You might have to save the initial file before you make a copy