A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
This error usually means Excel is running out of available memory resources, especially with large files, many workbook features, add-ins, or when other applications are using memory.
Try these steps in order:
- Install the latest Windows and Office updates
- Update Windows.
- Update Office to the latest version.
- For 32-bit Excel 2013 and 2016, the latest Office updates enable Large Address Aware support, which can increase available memory on supported systems.
- Disable Excel add-ins
- In Excel, disable add-ins and test again.
- If the error stops, an add-in is likely interfering.
- If using Shared Workbook, delete Custom Views
- Go to View ribbon.
- Open Custom Views.
- Delete the custom views.
- This does not delete worksheet data, but it does remove print areas and filters, which can be reapplied.
- On Windows 7, disable Preview Pane and Details Pane
- In Windows Explorer: Organize > Layout and clear Details Pane and Preview Pane.
- In Excel File > Open: Organize > Layout and clear Details Pane and Preview Pane.
- Test a different default printer
- Close Excel.
- Open Devices and Printers.
- Set Microsoft XPS Document Writer as the default printer.
- Excel uses the default printer when rendering files, and printer issues can trigger this error.
- Temporarily test without antivirus scanning
- Antivirus can cause random Excel memory errors by scanning the file continuously.
- Temporarily disable scanning for Excel files and test.
- Close other applications or restart Windows
- If the error improves after a reboot or after closing apps, other processes are consuming memory needed by Excel.
- Use 64-bit Excel for large files
- 32-bit Excel has a 2-GB memory limitation per instance.
- 64-bit Excel can use available physical RAM and is recommended for large workbooks.
- If the workbook is large, reduce workbook memory usage
- Large workbooks and workbooks with many features use more memory in newer Excel versions.
- Cleaning up the workbook can reduce memory use.
If the error appears when copying or filling formulas across a very large range, that can also be caused by Excel 32-bit limits. In that case:
- Fill smaller sections at a time.
- Continue from the last one or two filled rows.
- For very large workbooks, split the work into smaller workbooks and open them in separate Excel instances.