Share via

How to replace ieframe.dll

Kaj Bredenberg 20 Reputation points
2026-02-03T13:28:19.69+00:00

I need to replace for VBA macro ieframe.dll in \SystenWOW64 directory, where Micrsoft Internet Control is not working. Error: Method ot data member not found, but it's defined in Tools>References.

The Office Excel is using a different version of this dll in other Windows machine, where it's working.

Microsoft 365 and Office | Excel | For business | Windows
0 comments No comments

Answer accepted by question author

AlexDN 11,430 Reputation points Microsoft External Staff Moderator
2026-02-04T01:54:36.9666667+00:00

Dear @Kaj Bredenberg,
Thank you for posting your question in the Microsoft Q&A forum. I understand you are trying to replace or delete the ieframe.dll file in the SysWOW64 folder, but Windows only allows you to copy it and not remove or overwrite it.

To clarify, this behaviour is expected. Modern Windows versions protect ieframe.dll as a system‑owned, retired Internet Explorer component, so the file is locked by the operating system. Windows uses TrustedInstaller to protect these files, which prevents you from deleting or replacing them manually. Attempts to replace the file are blocked for security and system‑integrity reasons.

At the same time, Internet Explorer components, including ieframe.dll which have been retired and disabled, and Microsoft no longer supports re‑installing or regenerating them. Because the IE engine is disabled, Excel VBA controls that depend on it (such as Microsoft Internet Controls) may no longer work.

Even if you could replace the DLL, Excel would still not load the old Internet Explorer control because the underlying IE runtime is no longer active. The long‑term supported approach is to update the VBA solution to use the new Edge WebView2 control.

Please understand that our initial response does not always resolve the issue immediately. However, with your help and more detailed information, we can work together to find a solution.

I truly appreciate your patience and understanding. If you have any further questions or need further clarification, please feel free to reach out. I'm looking forward to hearing from you. 

Thank you for your cooperation.


If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

Was this answer helpful?


1 additional answer

Sort by: Most helpful
  1. Kaj Bredenberg 20 Reputation points
    2026-02-03T13:32:24.6933333+00:00

    I'm not able to replace ieframe.dll ot delete it in SyswWOW64 directory.

    I can only copy that.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.