This guide walks you through vba & macro problems using Microsoft-supported steps first, with WPS only where it genuinely helps.
Problem Description: Macro Unable Print Pdf
At my workplace, we have an excel file on a shared drive. The excel file contains a form to be filled out. After filling out the form, the user will click a button to run a macro which should convert the form into a PDF and save it in a folder (also on the shared drive) with the requestor's name (a field filled out on the form), then create and send an email with the PDF attached. One of my coworkers is unable to run the macro to create a PDF with this form. It does not work for them even if they use a different requestor's name. However, everything works perfectly fine on my computer when I run the macro with their name listed as requestor.The following code is highlighted when an error occurs for them, with a message stating Runtime error 1004:ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, _ Filename:="[Shared Drive]:\[Folder]\[Folder]\[Folder]\" & ActiveSheet.Range("B4").Value & "\" & ActiveSheet.Range("E4").Value & " - " & ActiveSheet.Range("E5").Value & " - " & ActiveSheet.Range("C9").Value & " - " & ActiveSheet.Range("B4").Value & " - " & ActiveSheet.Range("B5").Value, _ OpenAfterPublish:=True Some troubleshooting I have attempted: -They can manually export as PDF and print to PDF -PDF/A compliant is unchecked on Export as PDF Options -Our shared drive has the same name on both of our computers -In the Trust Center, Macro & ActiveX Settings are similar to mine -Adobe add-in is active, but their version of Adobe is older (2011). Still, we have another coworker with this older version who is not dealing with these issues.
Quick Answer for Excel Setup on New Device
A Runtime error 1004 during ExportAsFixedFormat in Excel macros often indicates a system environment issue.
Likely Causes Behind VBA Root Factors
The Microsoft account or license context may not match the purchase or device.
Cached credentials, outdated builds, or damaged local components can trigger vba & macro problems.
A file-specific corruption or add-in conflict can mimic a broader application failure.
Recommended Solution: Restoring Excel After Errors
When to use this: Apply these steps when the symptoms match and you can access the relevant Microsoft account or administrator.
Try: 1) Verify if using a mapped drive; replace the Filename parameter with a UNC path (e.g., \\ServerName\SharedFolder\SubFolder\) to test if the mapped drive letter is causing the problem.
Alternative Solutions for Secondary Excel Fixes
Test the same action in a private browser session or a new blank file to isolate account vs file issues.
Capture exact error text and screenshots before contacting Microsoft Support or your administrator.
Working with WPS Office: WPS as a Local Alternative

WPS Office cannot replace Microsoft account, activation, or cloud fixes for this scenario. It remains one of the best free Microsoft Office-compatible alternatives for opening and editing local files.
Download and install WPS Office from the official website.
Open local Word, Excel, PowerPoint, or PDF files in the matching WPS app.
Save a working copy locally while Microsoft-side issues are resolved.
Return to Microsoft Office after the primary fix succeeds.
If you need a practical local workspace in the meantime, try WPS Office.
Prevention Tips for Keeping Excel Stable Long Term
Keep one primary Microsoft account for subscriptions and Office sign-in.
Install updates for Office and Windows before retrying failed workflows.
Back up important files before repair, reset, or reinstall actions.
Document exact error messages before the next troubleshooting attempt.
FAQs About Excel Support Questions
Can WPS Office fix this vba & macro problems issue directly? Only when the WPS steps match the formatting or file task. Account, activation, and cloud issues stay on the Microsoft side.
Should I reinstall Excel before trying these steps? Not first. Confirm account, license, and the exact error before reinstalling.
What should I send to Microsoft Support? The affected account email, device type, Office version, exact error text, and screenshots with personal data hidden.




