File Cannot Open

Fix JPG Hyperlinks That Do Not Open in Excel or Word

Elise WilliamsElise Williams Nov 22, 2026 868 views

Question details

The user needs JPG hyperlinks to open from Excel or Word.

Fix JPG Hyperlinks That Do Not Open in Excel or Word
Product
Microsoft Excel 2016 and Microsoft Word
Device & OS
Windows Server 2016
Scenario
Opening a hyperlink to a JPG image from an Office document.
Observed behavior
The hyperlink fails initially, but works after the image URL is opened in Internet Explorer.
Before you start

Check whether the hyperlink points to a web URL or a local JPG file, and confirm that the image opens when you enter the address directly in a browser or open the file in File Explorer. Have another image viewer or browser installed if you plan to test a different default app.

Solution 1Recommended

Change the Default JPG Viewer in Windows

Use this approach to check whether the app associated with JPG files is preventing the hyperlink from opening.

1
Open default app settings

On Windows Server 2016, open Settings, select System, and then select Default apps.

2
Find the JPG association

Select Choose default apps by file type, then find .jpg in the list. Check .jpeg as well if your image uses that extension.

3
Choose another viewer

Select the current app next to the file extension and choose an installed image viewer, such as XnView, instead of Paint.

4
Test the hyperlink

Return to Excel or Word and click the JPG hyperlink again. If necessary, close and reopen the document before retesting.

Change the Default JPG Viewer in Windows
Web links may behave differently: A JPG URL may open in the default browser rather than an image viewer. If changing the file association does not help, test the browser as well.
Free Microsoft Office alternative

Open Documents and Work With Hyperlinks in WPS Office

WPS Office is a free, lightweight alternative with a familiar interface for opening and editing Office files. Its format compatibility helps you move existing documents and spreadsheets between suites, though it does not fix Microsoft Office or Windows hyperlink settings.

Work with hyperlinks in documents and spreadsheetsOpen and edit Microsoft Word DOCX and Excel XLSX filesUse a familiar interface that makes migration easierAccess a free, lightweight Office alternative
microsoft office alternative - wps office

Frequently Asked Questions

Why does the JPG link work after I open it in Internet Explorer?

Opening the URL in a browser first may change how the link is handled during that session, but it does not identify the cause by itself. Test a different default browser and check the JPG file association to narrow down the issue.

How do I change the default app for JPG files?

In Windows Server 2016, open Settings > System > Default apps > Choose default apps by file type. Find .jpg and select another installed image viewer.

Should I change the default browser or the image viewer?

For a web URL, test another default browser under Settings > System > Default apps > Web browser. For a local JPG file, check the .jpg association under Choose default apps by file type.

Where can I update Excel or Word?

Open Excel or Word and select File > Account > Update Options > Update Now. If the update option is unavailable or controlled by your organization, ask your administrator.