Fix Cannot Insert an Excel File from OneDrive into Word as an Object
Question details
The user needs to embed an Excel workbook stored in OneDrive into a Word document as an object without Word closing or restarting unexpectedly.

- Product
- Microsoft Word / Microsoft 365
- Device & OS
- not provided
- Scenario
- The user is working in Word and wants to insert an XLSX file from OneDrive as an embedded object.
- Observed behavior
- Word may close and reopen without an error when inserting or embedding the OneDrive-stored XLSX object.
Check the Microsoft 365 update channel and build in File > Account, and open the affected workbook from OneDrive in Excel to confirm the XLSX itself is not corrupted.
Update Microsoft 365 to a Supported Build
Use this first because the reported Word crash is fixed in Microsoft 365 version 2002 build 12527.20194 and later.
This issue is caused by an outdated Office build that mishandles OneDrive file locations during object insertion.
In Microsoft Word, select the File tab, then choose Account from the left pane.
Under Product Information, note the build number, then select Update Options > Update Now.
After the update completes, restart Word and confirm the build is 12527.20194 or later, then try inserting the OneDrive XLSX object again.

Copy the Excel Workbook Locally Before Embedding It
Use this workaround when you cannot update Microsoft 365 immediately or the update does not resolve the issue.
Test Other Workbooks and OneDrive or SharePoint Locations
Use this to identify whether the issue is specific to one file, one document, or one cloud location.
Try WPS Office for Reliable Excel Object Insertion Without the OneDrive Crash
This Word crash is tied to Microsoft 365 and its OneDrive object handling. WPS Office is a free, lightweight alternative that opens and saves .docx, .xlsx, and .pptx files with high compatibility, so you can switch with a familiar ribbon interface and avoid the same embedding problem.

Frequently Asked Questions
Why does Microsoft Word close and reopen when I insert an XLSX from OneDrive as an object?
This is usually an outdated Microsoft 365 build. Update to version 2002 build 12527.20194 or later via File > Account > Update Options > Update Now.
Can I insert the OneDrive Excel file without updating Microsoft 365?
Yes. Download the XLSX from OneDrive to a local folder, then in Word use Insert > Object > Create from File and select the local copy.
Does the same issue affect WPS Office?
WPS Office is a separate office suite and does not run on Microsoft 365 updates. You can use WPS Writer to insert Excel objects and open .docx and .xlsx files without this Microsoft-side crash.
How do I check if my Microsoft 365 build is new enough?
Open Word, go to File > Account, and look under Product Information or About Word. The build should be 12527.20194 or later for this fix.
What should I do if the crash continues after the update?
Test another workbook and another Word document, and try a SharePoint or OneDrive location. If only one file fails, re-save it in Excel or copy it locally before embedding.




