Hi,Editor LF
Welcome to the Microsoft Community.
You mentioned that you encountered a problem while trying to export an Excel spreadsheet to PDF format. You can refer to the following basic troubleshooting methods:
Setting the Default Printer: Try setting the default printer to “Microsoft XPS Document Writer” or “Send to OneNote”. This can be done by following these steps:
Open Settings > Devices > Printers and Scanners.
Select “Microsoft XPS Document Writer” or “Send to OneNote” and click Manage > Set as Default. “Set as Default.
Check file permissions: Make sure you have enough permissions to save the file. Right-click on the file, select Properties, and then check the permissions settings in the Security tab.
Clean up temporary files: Press Windows + R, type %temp%, and delete all temporary files. This can help with some saving issues.
Excel Safe Mode: Try opening Excel in Safe Mode. press Windows + R, type excel /safe and click OK. Try exporting the PDF in safe mode.
Best regards
Zoro-MSFT | Microsoft Community Support Specialist