Hi @Maxine Nietz
Thank you for reaching out to the Microsoft Q&A Forum.
Based on the information you've shared, I understand that you're creating a macro in Microsoft Access to export a report named "CertificationReport". Your goal is to save it as a PDF with a dynamic filename based on the SoNo and LineNo values from the report.
To better assist you, could you please provide the specific error message you receive when the macro fails? I have created a sample file in my own environment to replicate the situation. I encountered an error, as shown in the image below, which could be a possibility.
Regarding your primary goal of exporting to Word, you might find that using the Rich Text Format (RTF) is a more suitable option. Exporting to RTF creates a file that is easily opened and edited in Word, preserving much of the formatting just like a standard text document.
Please refer: https://support.microsoft.com/en-us/office/export-access-data-to-a-word-document-6e954c8e-2243-4cb9-8544-607e5b7bfc12
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.