Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Why do I get a "Run-time error '13': Type mismatch" every time I try to launch IDF editor?

asked 2020-06-04 12:50:17 -0600

updated 2020-06-05 11:41:03 -0600

For some time now I'm unable to launch the IDF editor. Every time I try (either from the EP-lauch or directly from EP installation directory) I get a Run-time error '13': Type mismatch. I've tried uninstalling and reinstalling EP and tried different versions (8.2; 8.9; 9.2 & 9.3) but I always have the same issue. I've been using EP and IDF editor for several years and I'm only having this issue since a couple of month. This issue is only on my local machine (Windows 10 - 64 bits). When I use a remote machines it works just fine.

Any idea on how to solve this?

Thanks you very much in advance and best regards!image description

edit retag flag offensive close merge delete


I'm not sure this fix it but there is a bugfix release of 9.3.0 that has some installer changes related to registering ocx files.

JasonGlazer's avatar JasonGlazer  ( 2020-06-04 14:29:33 -0600 )edit

Thanks for your answer Jason. I tried installing the bugfix but still got the same issue. I really suspect an bad un-installation of a previous version but I cannot figure out how to correct this

Tanguy Timmermans's avatar Tanguy Timmermans  ( 2020-06-05 11:39:49 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2020-06-05 12:28:45 -0600

updated 2020-06-05 12:47:28 -0600

Try removing the IDF Editor keys from the Windows Registry. To do this click on the Windows button and start typing Registry. That should allow you to open the Registry Editor. Go to HKEY_CURRENT_USER then SOFTWARE then VB AND VBA PROGRAM SETTINGS. You should see IDF Editor. Right click on IDF Editor and select delete and then OK when it asks if you want the subkeys deleted.

I'm not certain this will work but it is worth trying.

edit flag offensive delete link more


It was definitely worth trying! It worked like a charm, thank you very much for your help. Regards

Tanguy Timmermans's avatar Tanguy Timmermans  ( 2020-06-06 08:37:10 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2020-06-04 12:50:17 -0600

Seen: 493 times

Last updated: Jun 05 '20