File Format & Compatibility

How to Fix Excel Hyperlinks Opening BMP Files in Paint

Bushra ParveenBushra Parveen Oct 23, 2026 871 views

Question details

The user needs Excel hyperlinks pointing to BMP images to open in the system's default photo viewer instead of launching MS Paint.

How to Fix Excel Hyperlinks Opening BMP Files in Paint
Product
Microsoft Excel
Device & OS
Windows
Scenario
Clicking a hyperlink within a spreadsheet that links to a local .bmp image file.
Observed behavior
The .bmp file opens in MS Paint when triggered from the Excel hyperlink, despite opening correctly in the default Photos app when launched directly from File Explorer.
Before you start

Verify that you have administrative privileges on your Windows account, and temporarily export your HKEY_CLASSES_ROOT registry branch as a backup before modifying any CLSID values.

Solution 1Recommended

Reconfigure Windows Default Apps for BMP Files

Resetting the default application specifically for the .bmp file extension can force the system to route Excel hyperlink requests correctly.

1
Open Windows Settings

Press the Win + I keys on your keyboard to launch Windows Settings, then click on the Apps category.

2
Access Default Apps

Select 'Default apps' from the left-hand menu, scroll down, and click the link for 'Choose default apps by file type'.

3
Locate the BMP Extension

Scroll through the alphabetical list of file extensions until you find '.bmp'.

4
Assign a New Default App

Click on the current default application (usually Paint) next to the .bmp extension and select 'Photos' or your preferred image viewer from the popup list.

5
Test the Hyperlink

Restart Microsoft Excel, open your spreadsheet, and click the hyperlink again to verify it opens in the correct application.

Reconfigure Windows Default Apps for BMP Files
Windows 11 Users: In Windows 11, you can directly search for '.bmp' in the search bar under the Default Apps settings page instead of scrolling through the entire list.
Free Microsoft Office alternative

Switch to WPS Office for Seamless Hyperlink and File Management

Dealing with frustrating registry edits and legacy routing glitches in Microsoft Excel can slow down your workflow. WPS Office provides a free, highly compatible alternative that respects your modern Windows system settings out of the box. Enjoy seamless spreadsheet management without the technical headaches.

  1. 1. Download the Installer: Get the free WPS Office installer directly from the official WPS website.
  2. 2. Open Your Spreadsheets: Launch WPS Spreadsheet and open your existing Excel files; formatting and hyperlinks remain intact.
  3. 3. Use Hyperlinks Naturally: Click your image hyperlinks and let WPS route them perfectly to your designated default viewer.
Fully compatible with Microsoft Excel formats including .xlsx, .xls, and .csv.Respects your Windows default app settings for hyperlinks and linked attachments automatically.Lightweight architecture ensures fast loading times and smooth overall performance.Familiar, tabbed user interface makes migrating from Microsoft Office effortless.
microsoft office alternative - wps office

Frequently Asked Questions

Why does Excel open hyperlinks in Paint instead of my default photo viewer?

Excel often relies on legacy OLE (Object Linking and Embedding) components and specific CLSID registry keys to launch linked files. If these legacy keys are assigned to MS Paint, Excel will bypass your modern Windows Default Apps settings and force the image to open in Paint.

Will reinstalling Microsoft Office fix the hyperlink file association issue?

Reinstalling Office usually does not resolve this issue because the problematic CLSID registry keys remain stored in Windows. Resetting the default apps by file type or applying the specific registry edit is required to fix the routing.

Does changing the 'jpegfile' registry key affect BMP files?

Yes. Windows and Office sometimes group image hyperlink routing under shared legacy classes like 'jpegfile' or 'Paint.Picture'. Updating the CLSID for these primary image classes can correct the hyperlink behavior for multiple image formats, including BMP.

How do I safely reverse the registry changes if something goes wrong?

If you exported the registry key before making changes, you can simply double-click the saved .reg file and click 'Yes' to merge it back, which restores your original settings immediately.