Fix a Slow Excel Macro and Picture Truncation Error
Question details
The user is experiencing severe performance issues with a previously functional macro and receiving a picture truncation warning when closing the file.

- Product
- Microsoft Excel 2019
- Device & OS
- not provided
- Scenario
- Running an Excel macro that unexpectedly takes up to 40 seconds to complete, followed by closing the workbook.
- Observed behavior
- The macro executes very slowly, and upon closing the application, Excel displays the error message: "The picture is too large and will be truncated." Standard troubleshooting methods like reinstalling Office and Safe Mode do not resolve it.
Save all your current workbook progress and temporarily pause any third-party clipboard manager applications running in the background before altering Excel settings.
Disable Hardware Graphics Acceleration in Excel
Turning off hardware acceleration forces Excel to rely on software rendering, which often resolves display-related macro slowdowns and truncation errors.
Hardware graphics acceleration can sometimes conflict with how Excel processes visual elements and clipboard data during rapid macro execution, leading to significant slowdowns and memory errors.
Open Microsoft Excel and click on the 'File' tab in the top left corner, then select 'Options' at the bottom of the left-hand menu.
In the Excel Options window, click on 'Advanced' from the left sidebar.
Scroll down to the 'Display' section. Check the box next to 'Disable hardware graphics acceleration'.
Click 'OK' to save your changes. Close Excel entirely, reopen your workbook, and test the macro again.

Manage the Office Clipboard and Third-Party Clipboard Tools
If the truncation error persists, the issue might be caused by excessive data being held in the clipboard or being actively monitored by external software.
Experience Faster Macro Execution with WPS Office
If Microsoft Excel continues to struggle with performance bugs and memory errors, consider switching to WPS Office. It is a highly compatible, lightweight, and free alternative that supports VBA macros natively without heavy system resource drains.
- 1. Download WPS Office: Visit the official WPS website and download the free installer.
- 2. Open Your Workbook: Launch WPS Spreadsheet and open your existing .xlsm macro-enabled file.
- 3. Run Macros Smoothly: Enable macros when prompted and run your scripts without the hardware graphics acceleration conflicts.

Frequently Asked Questions
Why does Excel say "The picture is too large and will be truncated"?
This error usually occurs when a large amount of graphic data or a massive range of cells is copied to the clipboard, and Excel struggles to allocate enough memory to retain it after the application closes.
Can third-party apps cause Excel macros to run slowly?
Yes, background applications that constantly monitor or intercept the system clipboard can conflict with Excel's rapid copy/paste operations within a macro, severely slowing down its execution time.
Will disabling hardware graphics acceleration affect other Office apps?
Yes, hardware acceleration settings are generally shared across the Microsoft Office suite. Disabling it in Excel will also turn it off in Word and PowerPoint, which can actually improve stability across all apps on older systems.
Is it normal for a macro to suddenly slow down from seconds to nearly a minute?
No, sudden drastic slowdowns are typically caused by an underlying software conflict, a recent update changing default rendering settings, or system resources being monopolized by another background process, rather than the macro code itself.




