As with other runtime errors, runtime error 13 occurs under a number of
circumstances and is not generally limited to one specific program.
However, runtime error 13 does commonly appear when using macros in
Excel as well as when running programs based on Microsoft Visual Basic.
Let’s take a look at these two examples of common instances of runtime
error 13 and then explore how to fix runtime error 13.
Runtime Error 13 – Type Mismatch
When your computer tells you that a runtime error 13 type mismatch error
has occurred in Microsoft Excel 2002, it is telling you about a known
bug within Excel that has since been patched. If your computer has not
been patched with Office XP Service Pack 3, you will receive this
particular runtime 13 error when clicking a macro or a menu function
based on a macro.