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

Your sub "MakePDFFromDoc()" is being called with "ThisApplication.ActiveDocument". Therefore, it is always only going to make the PDF from the active document on screen.

 

You instead need to loop through each of the open document(s), calling "MakePDFFromDoc" on each document.