Saving into a OneDrive folder invokes OneDrive synchronization; to make local storage the default, configure Excel to use a folder outside OneDrive, while treating PDF opening and file sharing as separate settings.
Make Excel save locally by default
In Excel 2019:
- Select File → Options → Save.
- If Save to Computer by default is available, select it.
- In Default local file location, enter a genuinely local path outside OneDrive, for example:
C:\Users\<your-user-name>\Documents
- Select OK, close Excel, and reopen it.
- Test with F12 → Computer/This PC → Browse, select PDF, and verify that the full destination path is outside the OneDrive folder.
Microsoft documents File → Save As → Computer → Browse as the way to select a folder on the computer in Excel ^1^. Some Office versions also expose Save to Computer by default and Default local file location under File → Options → Save ^2^. If that checkbox is absent in your Excel 2019 build, setting the local path and explicitly selecting Computer/This PC is the applicable method.
A folder such as C:\Users\<name>\OneDrive\... is still a OneDrive folder even though it appears in File Explorer. Files created there are stored through the OneDrive synchronization system. Windows lets you select OneDrive or This PC each time you save ^3^.
If you want the OneDrive folder but also require a local copy
Right-click the required OneDrive folder in File Explorer and select Always keep on this device. A green circle with a white check mark means its contents are downloaded and available locally, including offline ^4^.
This does not make it a local-only folder: changes still synchronize with OneDrive. For local-only storage, the destination must be outside the OneDrive directory.
If the PDF is missing from File Explorer after saving into OneDrive:
- Select the OneDrive cloud icon in the Windows notification area.
- Check whether synchronization is in progress or reporting an error.
- Check the same folder on OneDrive on the web.
- In File Explorer, inspect the file’s status icon:
- Blue cloud: online only.
- Green check: locally available.
- Green circle/white check: always available locally.
- Circular arrows: synchronization is still running.
These status meanings are documented by Microsoft ^5^.
Stop PDFs opening in the browser
First test with a PDF saved outside OneDrive. Then set the local PDF association:
- Open Windows Settings.
- Select Apps → Default apps.
- Search for
.pdf.
- Select the current application and choose your installed PDF reader.
Windows supports assigning a default application by file extension ^6^.
A URL beginning with https://onedrive.live.com/... is a web link, not the local PDF file, so Windows correctly sends that URL to a browser. Changing the .pdf association affects local PDF files; it does not cause OneDrive web links to open as local files. Temporarily clearing Open file after publishing can help separate successful PDF creation from the subsequent web-opening action.
Privacy and sharing
Saving a file in personal OneDrive does not by itself share it with anyone. OneDrive documents are private by default unless a file or folder is explicitly shared ^7^.
To verify that no link or permission exists:
- Open OneDrive on the web.
- Select the PDF or its containing folder.
- Open Information → Manage access.
- If any unwanted sharing link is listed, select X → Remove link ^8^.
References
- Save your workbook | Microsoft Support
- Customize the save experience in Office | Microsoft Support
- How to change the default save location in OneDrive for Windows | Microsoft Support
- Save disk space with OneDrive Files On-Demand for Windows | Microsoft Support
- What do the OneDrive icons mean? | Microsoft Support
- Change Default Apps in Windows | Microsoft Support
- Manage document privacy | Microsoft Support
- [OneDrive, SharePoint](https://support.microsoft.com/onedrive/sharepoint/manage-sharing-and-permissions-in-onedrive-and-sharepoint#stop-sharing-with-people-or-through-a-link)