How to Attach an Open OneDrive File Without Closing It
Question details
The user needs to attach an actively opened Excel or PowerPoint file stored on OneDrive to another application without encountering file lock or permission errors.

- Product
- OneDrive, Microsoft Office
- Device & OS
- Windows
- Scenario
- Attempting to attach a cloud-synced document to an email client or web application while the file is currently open and being edited.
- Observed behavior
- Windows displays an error message stating that the file is already open or that the user does not have permission to access it.
Check your system tray to ensure OneDrive is running and actively syncing, as paused or stalled sync operations can sometimes cause false permission errors.
Use the Built-in 'Send a Copy' Feature
Instead of attaching the file through an external email client or browser, use the Office application's native sharing capabilities to bypass the file lock.
Microsoft Office applications can natively package the open file and hand it off to your default email client. This circumvents the Windows file lock that occurs when a third-party app tries to read the open file.
While your Excel or PowerPoint file is open, click the 'Share' button located in the top-right corner of the application window, or navigate to File > Share.
Look for the option labeled 'Send a Copy' at the bottom of the Share pane. You can choose to send it as a standard Office document or as a PDF.
Your default desktop email client (such as Outlook) will automatically open a new draft with the document attached, allowing you to send it without closing the file.

Save a Temporary Local Copy
If you need to upload the attachment to a web portal or an app that isn't your default email client, saving a quick duplicate is the most reliable workaround.
Try WPS Office for Seamless File Sharing and Editing
If you frequently struggle with Microsoft Office file locks or OneDrive auto-save permission errors, consider switching to WPS Office. It offers a highly compatible, free alternative with streamlined cloud capabilities that make sharing and editing files hassle-free without aggressive file-locking interruptions.
- 1. Download and Install: Get the free WPS Office suite from the official website and install it on your Windows device.
- 2. Open Your Documents: Open your existing Office files directly in WPS Office with perfect formatting retention.
- 3. Share Effortlessly: Use the built-in share features to send documents as attachments or links without worrying about file lock errors.

Frequently Asked Questions
Why does Windows say my OneDrive file is in use?
When auto-save is enabled in Microsoft Office, OneDrive continuously locks the active file to sync your real-time changes to the cloud. This sync lock prevents other applications, like web browsers or non-Microsoft email clients, from reading or attaching the file simultaneously.
Can I just share a OneDrive link instead of the physical file?
Yes. Instead of attaching the physical file, you can click the 'Share' button in the top-right corner of your Office app. From there, you can copy a view-only or edit link and paste it into your email or chat application.
Does this 'file in use' error happen with local files too?
While it can happen with local files if they are being heavily indexed or actively modified by another background process, it is significantly more common with OneDrive files due to continuous cloud synchronization protocols.




