Runtime Error 13: Type Mismatch [Fix]

Reinstall the problematic program incase of installation errors

Reading time icon 5 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team Read more

Key notes

  • Run-time errors usually occur when a program tries to execute a process that is impossible or when there is an error in the data it is trying to interpret.
  • Always ensure your software is up-to-date to rule out compatibility issues, as this is the most common cause behind the run time error.

Runtime error 13 is a common error when you try to run an application on a computer that does not have the correct version of the runtime libraries installed. Most users say they encounter this error when opening a Microsoft Excel file.

The most common reason this error occurs is that the program was written for one version of an operating system and is being run on another. For example, if you try to run Windows 11 software on Windows 8, you may get such an error.

What is error 13 at run time mismatch?

Error 13 is a run-time error that occurs when Microsoft Excel cannot find the correct function or macro to do the task you are trying to perform. 

This mainly occurs when an application fails to initialize its resources because of an incompatibility between the application and the operating system. 

It’s likely to happen if the application was developed for an older version of Windows or if it’s incompatible with the version you’re running.

Other reasons include:

  • Missing files – If there are missing files in your system, then it will cause this error. Some third-party applications may delete some files from your system that Windows requires to run properly.
  • Corrupted DLLs and EXE files Corrupted DLLs and EXE files can also cause the error 13 at runtime mismatch because Windows requires these files to execute different programs.
  • Virus infection – If a virus finds its way to your system, it can infect system-related files, including Excel files, and cause this error.
  • Incorrect installation/uninstallation – Improperly uninstalling a previous version of an application and then installing it again without uninstalling it completely can also cause this runtime error.

How do I fix Runtime Error 13?

A few workarounds that could resolve this issue include:

1. Use the Program Compatibility Checker

  1. Hit the Windows key, type Program Compatibility Checker, and click on Open under Run programs for previous versions of Windows.Porgram compatibility checker- excel has run into an error that is preventing it from working correctly
  2. On the Program Compatibility Checker window, click Next.Program Compatibility Checker
  3. From the next window, scroll and select the program; in this case it is Excel. Click Next.Excel NEXT
  4. Click on Troubleshoot program.Select any
  5. Now select the most suitable option presented under What problems do you notice?
  6. Click NextSelect any click Next
  7. You might have to repeat the process with different options to see what resolves the error.

2. Repair Excel

  1. Launch MS Excel and open a blank workbook.
  2. Click on File.file
  3. Select Open and click on Browse.
  4. Locate the problematic file, select it, and click on the drop-down icon next to Open.
  5. Select Open and Repair.

If this fixes the issue, good, but if it doesn’t, you can try out the automatic Excel repair tools, which are more thorough.

3. Run the Program Install and Uninstall troubleshooter

  1. Download the Program Install and Uninstall troubleshooter and install it.
  2. Launch it and click on Next.
  3. You’ll be asked whether you have a problem installing or uninstalling a program. Select one option.
  4. Next, you’ll be asked to select the program that is not installing. Pick the problematic program from the list.
  5. The troubleshooter will start scanning for problems.
  6. Once it completes, you’ll be presented with two options. Pick either and wait for the troubleshooter to recommend fixes.

4. Scan for viruses

  1. Click on the Start Menu icon, search Windows Security, and click Open.
  2. Select Virus & threat protection.
  3. Next, press Quick scan under Current threats.
  4. If you don’t find any threats, proceed to perform a full scan by clicking on Scan options just below Quick scan.Scan options
  5. Click on Full scan, then Scan now to perform a deep scan of your PC.Full Scan Scan Now
  6. Wait for the process to finish and restart your system.

5. Run Excel in compatibility mode

  1. Locate the .exe file of the problematic problem usually in one of the following paths depending on your version of Windows:C:\Program Files (x86)or C:\Program Files
  2. Scroll down until you find the program you’re looking for. 
  3. Right-click on the .exe file of the program and select Properties.    
  4. Navigate to the Compatibility tab, check the Run this program in Compatibility mode option, and select Windows 8  from the drop-down menu.   run this program in compatibility for
  5. Allow the program to finish installing, then check whether the error persists.

6. Reinstall Excel

  1. Click the Start button and select Settings.settings windows 11
  2. Choose Apps from the left pane and click on Installed apps from the right.
  3. Look for the Office suite in the list of apps, click the three dots icon from its right, and select Uninstall.
  4. Go to the official Office 365 website and sign into your account.
  5. Now, from the main Microsoft 365 account, click on Install Office.Install office

You may also come across runtime error 217 but worry not, as we have also laid down an easy fix guide to help you resolve the issue.

Speaking of runtime errors, we’d also like to recommend installing runtime repair tools to help you easily navigate such issues.

That’s it for this article, but let us know which solution fixed this error for you in the comment section below.

More about the topics: Excel, Runtime Errors