Wondershare Repairit
Excel Repair

Perfectly repair Excel files with different issues in minutes.

  • Fix all Excel file issues like blank Excel, Excel not opening, unreadable Excel, Excel running slow, etc.
  • Repair corrupted Excel files with a very high success rate in 3 simple steps.
  • Support Microsoft Excel 2019, 2016, 2013, 2010, 2007 and Office 365.
  • Perfectly compatible with different Windows & Mac system.
Secure Download

How to Fix Excel Cannot Open the Specified Excel File Error

Repairit Editorial Team
Repairit Editorial Team Originally published Apr 23, 24, updated Nov 12, 26

"Every time I try to open a hyperlink in my Excel file it says 'cannot open the specified file' Even though the path is correct, the file type matches, and almost everything seems okay. What would be the problem?" – From Quora.

If Excel shows "Cannot open the specified file" after you click a hyperlink, the workbook itself is not always damaged. The most common place to start is the link destination: check whether the linked file was moved, renamed, deleted, or saved under a different path. If the workbook itself will not open even without using the hyperlink, then treat it as a separate file-opening problem.

This guide separates those two cases so you can fix the link first and only move to file repair when the Excel file itself is actually unreadable.

In This Article
    1. Fix 1. Confirm the Linked File Still Exists
    2. Fix 2. Edit the Hyperlink to the Correct File Location
    3. Fix 3. Replace a Broken Relative Path with a Full Path
    4. Fix 4. Remove Problematic Characters from the File Name
    1. Fix 5. Try Excel's Built-In Open and Repair
    2. Fix 6. Repair a Corrupted Excel File with Repairit

Part 1. Why Excel Says "Cannot Open the Specified File"

Excel hyperlinks can point to a web address, another workbook, a document on your computer, a network location, or a place inside the current workbook. Microsoft documents that an Excel hyperlink can point to another file, a network location, a web address, or a place in the workbook, and that file links can use full or relative paths in its current Excel link documentation.

What happens Likely area to check first
The workbook opens, but clicking one hyperlink shows "Cannot open the specified file." The hyperlink target, path, file name, or network location.
Several links stopped working after files or folders were moved. Relative paths or outdated link destinations.
The linked file was renamed. Edit the hyperlink so it points to the new file name.
The Excel workbook itself will not open normally. Excel file-opening or corruption troubleshooting rather than hyperlink repair.

If the workbook opens normally and only a hyperlink fails, do not start by repairing the workbook. First verify the destination and path. For broader workbook-opening problems, Excel not opening on a computer has a different troubleshooting path that focuses on the application and workbook itself.

Part 2. How to Fix an Excel Hyperlink That Cannot Open the Specified File

Start with the link destination itself. These checks are low-risk and directly match the error when the workbook is otherwise usable.

Fix 1. Confirm the Linked File Still Exists

Before editing Excel, confirm that the target file or folder still exists in the location stored by the hyperlink.

  1. Right-click the hyperlink cell and select Edit Hyperlink.
  2. Read the current address or file path.
  3. Open File Explorer and navigate to that location.
  4. If the file was moved, renamed, or deleted, note its current location and continue to the next fix.

A hyperlink cannot open a destination that no longer exists. This is especially common after folders are reorganized, shared-drive locations change, or files are renamed.

Fix 2. Edit the Hyperlink to the Correct File Location

If the target file still exists but Excel points to an old location, update the hyperlink rather than recreating the workbook.

  1. In Excel, right-click the hyperlink and choose Edit Hyperlink.
  2. Under Link to, select Existing File or Web Page.
  3. Browse to the current target file or paste the correct address.
  4. Select OK, then click the link again to test it.
edit an excel hyperlink to the correct file location
replace the old excel hyperlink address with the current file path

If the stored destination no longer matches the real file location, correcting the link is the most direct fix.

Fix 3. Replace a Broken Relative Path with a Full Path

Excel can store file links as relative paths. That is convenient when related files stay together, but moving the workbook or its linked files can break the relationship.

  1. Right-click the affected link and select Edit Hyperlink.
  2. Check whether the address contains only part of the path or depends on the workbook's current folder.
  3. For a file that should always open from one fixed location, replace the relative location with the full file path.
  4. Save the workbook and test the hyperlink again.

If you manage many linked workbooks that move together, a relative path can still be useful. The key is consistency: either keep the folder relationship unchanged or update links after reorganizing files.

Fix 4. Remove Problematic Characters from the File Name

If the hyperlink was created before a file was renamed or contains a complicated path, simplify the target file name and rebuild the link.

  1. Close the target file if it is open.
  2. In File Explorer, rename the target with a short, clear file name.
  3. Return to Excel and edit the hyperlink so it points to the renamed file.
  4. Test the link before making additional changes.
rename the linked excel file before updating the hyperlink

Renaming alone does not repair a damaged workbook. This step is useful only when the error comes from the path or file name stored in the hyperlink.

Part 3. What If the Excel Workbook Itself Will Not Open?

If Excel cannot open the workbook directly from File Explorer or from File > Open, the problem is no longer limited to the hyperlink. At that point, test Excel's built-in repair option first, then consider a dedicated file-repair tool for a genuinely corrupted workbook.

Fix 5. Try Excel's Built-In Open and Repair

For a workbook that is present on disk but fails to open normally, Excel's built-in repair option is a reasonable first attempt.

  1. Open Excel without opening the damaged workbook.
  2. Go to File > Open > Browse.
  3. Select the workbook, then open the menu next to the Open button.
  4. Choose Open and Repair.
  5. Try Repair first. If Excel cannot repair the workbook, use the available data-extraction option only if needed.

If the workbook opens after this process, save the repaired copy under a new file name and verify important formulas, tables, links, and sheets before replacing the original.

Fix 6. Repair a Corrupted Excel File with Repairit

Wondershare Repairit can analyze the file, identify the corruption, and repair the Excel file so that it can be opened and accessed again. This fix is important because it directly addresses the root cause of the issue - the corrupted file itself.

Use Repairit File Repair when the Excel workbook itself is corrupted, unreadable, or still cannot open after normal Excel troubleshooting. This is different from fixing a broken hyperlink: Repairit is relevant only when the file content needs repair.

Try It Free
Try It Free

Step 1. Add the damaged Excel file. Launch Repairit, open More Types Repair > File Repair, and add the workbook you want to repair.

add a corrupted excel file to repairit file repair

Step 2. Start the repair. After the workbook is loaded, select Repair and wait for the repair process to finish.

start repairing the corrupted excel file in repairit

Step 3. Preview and save the repaired workbook. Preview the result where available, then save the repaired copy to a different location so the original remains unchanged.

preview and save the repaired excel workbook
Try It Free
Try It Free
icon note
Important: Repairing a workbook is appropriate only when the Excel file itself is damaged. If the workbook opens normally and only one hyperlink fails, return to the hyperlink and path checks above instead of repairing the file.

Part 4. Prevent Broken Excel Hyperlinks

Once the link works again, a few simple habits can reduce repeat failures:

  • Keep linked files in stable folders: Moving the workbook or the target file can break a relative link.
  • Update links after renaming files: Renaming the destination does not automatically update every workbook that links to it.
  • Use clear file names: Short, consistent names make file paths easier to maintain.
  • Test shared-drive links with another account: A valid path can still fail if the user does not have access to the destination.
  • Keep an untouched backup: Save a copy before repairing a workbook or making large link changes.
icon note
Related Excel fixes: If the workbook itself refuses to open, work through the causes behind Excel files not opening. If the workbook shows clear corruption or format-related errors, you can also check how to repair an Excel workbook.

Conclusion

When Excel says "Cannot open the specified file" after you click a hyperlink, start with the destination rather than assuming the workbook is corrupted. Confirm that the target still exists, update the path, and rebuild broken links after files are moved or renamed. If the workbook itself also fails to open directly, try Excel's built-in repair option before moving to dedicated file repair.

This distinction keeps the troubleshooting focused: fix the hyperlink when the link is broken, and repair the workbook only when the Excel file itself is damaged.

FAQ

  • Why does Excel say "Cannot open the specified file" when I click a hyperlink?
    The link may point to a file that was moved, renamed, deleted, or stored under a path Excel can no longer resolve. Edit the hyperlink and verify the destination before treating the workbook as corrupted.
  • How do I fix a broken file hyperlink in Excel?
    Right-click the hyperlink, choose Edit Hyperlink, and select the current target file under Existing File or Web Page. Save the workbook and test the link again.
  • Can a relative path cause Excel hyperlinks to stop working?
    Yes. Relative links depend on the relationship between the workbook and the target file. Moving either item can break that relationship. Use a full path when the target stays in one fixed location, or keep linked files in a stable folder structure.
  • Should I repair the Excel file if only one hyperlink is broken?
    No. If the workbook opens normally and only one hyperlink fails, repair the link or path first. File repair is more appropriate when the workbook itself is unreadable, damaged, or will not open normally.
  • What should I do if the Excel workbook itself cannot open?
    Try Excel's Open and Repair option first. If the workbook remains unreadable and you have reason to suspect file corruption, use a dedicated Excel repair workflow and save the repaired copy separately from the original.
Share article:
Get Repairit Get Repairit
logo
Relumi - AI Photo Enhancer

Revive memories in 3 steps

open
logo
Relumi - AI Photo Enhancer

Revive memories in 3 steps

open