How to Fix Linked Picture Formatting Disappearing in Excel Dashboards
Question details
Users experience formatting loss, such as disappearing glow effects and size changes, on linked pictures within dashboards after a data refresh.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Refreshing macro-driven Excel dashboards containing linked pictures with custom visual formatting.
- Observed behavior
- Linked pictures lose their applied formatting (like glow effects) and resize unexpectedly after dashboard updates or macro execution.
Before making changes, verify if the formatting loss happens only when executing a specific refresh macro or during a standard manual calculation.
Use a VBA Script to Generate Dynamic Pictures
Replace the standard linked picture with a VBA-generated picture to prevent update macros from overwriting or clearing the image formatting.
By utilizing VBA, you can force Excel to capture a fresh image of the data range and place it onto the dashboard dynamically, bypassing the buggy refresh cycle of standard linked pictures.
Press Alt + F11 on your keyboard to open the Visual Basic for Applications (VBA) editor in Excel.
Click 'Insert' from the top menu and select 'Module' to create a new blank script area for your macro.
Write a VBA script using the `Range.CopyPicture` method to copy your specific data range to the clipboard as an image.
Add a command in your script to paste the clipboard image to your desired dashboard location, replacing the old unformatted picture.

Isolate Conflicting Macros and Repair Office
Determine if a corrupted Microsoft Office installation or a poorly optimized refresh macro is resetting the picture formats.
Create Stable Linked Pictures in WPS Spreadsheet
WPS Spreadsheet provides robust support for dynamic dashboards, including a highly stable Camera tool that preserves formatting without the need for complex VBA workarounds.
- 1. Enable the Camera Tool: Open your dashboard in WPS Spreadsheet, go to the top toolbar, click 'Insert', and select the 'Camera' icon to activate the dynamic picture feature.
- 2. Select the Data Range: Highlight the specific cells, tables, or charts you want to display dynamically on your main dashboard.
- 3. Take a Snapshot: Click the Camera tool to instantly capture the selected data range as a live, linked picture.
- 4. Paste and Format: Navigate to your dashboard sheet, click to paste the linked picture, and apply your desired glow or border formatting directly from the Picture Tools menu.

Frequently Asked Questions
Why do linked pictures lose formatting when a macro runs?
Macros that aggressively update worksheets or refresh data connections can sometimes trigger the application to completely redraw objects. This process can inadvertently reset linked pictures to their default, unformatted state.
What is the Camera tool and how does it relate to linked pictures?
The Camera tool is a feature that takes a live, dynamic snapshot of a selected range of cells. It acts similarly to a linked picture but is often easier to configure for dashboards and sometimes handles formatting differently during workbook recalculations.
Can I prevent shapes and pictures from resizing when dashboard cells change?
Yes. Right-click the linked picture or shape, select 'Format Picture', navigate to the 'Properties' tab, and choose 'Don't move or size with cells'. This prevents the image from distorting if underlying column widths or row heights change.




