Others

What Happens to Microsoft Internet Controls When Internet Explorer is Removed?

Anum MushtaqAnum Mushtaq Nov 3, 2026 868 views

Question details

Users need to know how the removal of Internet Explorer impacts VBA macros using Microsoft Internet Controls and how to address the resulting automation failures.

What Happens to Microsoft Internet Controls After Internet Explorer Is Removed?
Product
Microsoft Excel
Device & OS
Windows
Scenario
Running legacy VBA web automation scripts after a system update removes Internet Explorer.
Observed behavior
The Microsoft Internet Controls reference is visible in the VBA editor, but creating an InternetExplorer object opens Microsoft Edge without DOM access, causing properties like Busy and ReadyState to fail.
Before you start

Before modifying your VBA projects, ensure you have backed up all your macro-enabled workbooks (.xlsm) and identified which specific scripts rely on the legacy InternetExplorer object.

Solution 1Recommended

Migrate to a Supported Web Automation Framework

The safest and most reliable way to restore web automation functionality is to update your VBA code to use modern frameworks like Selenium or Edge WebDriver.

Because Internet Explorer has been permanently removed from modern Windows builds, the legacy Microsoft Internet Controls can no longer access the Document Object Model (DOM). Workarounds like IE Mode in Edge, using standalone IE, or copying old system files will not restore VBA functionality.

To fix this issue permanently, developers must transition their codebase to modern web drivers that support current browsers.

1
Identify broken code

Open the VBA editor (Alt + F11) and search your modules for references to 'InternetExplorer.Application' or 'SHDocVw.InternetExplorer'.

2
Install an alternative framework

Download and set up a modern automation framework on your system, such as SeleniumBasic or the Microsoft Edge WebDriver.

3
Update VBA references

In the VBA editor, navigate to 'Tools' > 'References'. Uncheck 'Microsoft Internet Controls' and check the reference library for your newly installed framework (e.g., Selenium Type Library).

4
Rewrite the automation logic

Replace the old DOM interactions and legacy properties like 'ReadyState' or 'Busy' with the corresponding methods provided by Selenium or Edge WebDriver.

Migrate to a Supported Web Automation Framework
Avoid Unofficial Files: Do not attempt to replace system DLLs or download older iexplore.exe files from unofficial sources. This poses significant security risks and remains unsupported by the operating system.
Free Microsoft Office alternative

Upgrade Your Productivity with WPS Office

If you are dealing with legacy Microsoft Office issues, consider trying WPS Office. It is a highly compatible, lightweight, and free alternative that seamlessly handles Microsoft formats while offering a smooth and modern user interface for all your spreadsheet needs.

  1. 1. Download WPS Office: Visit the official WPS website and download the free installation package.
  2. 2. Install the Software: Run the installer and follow the on-screen instructions to complete the setup.
  3. 3. Open Your Spreadsheets: Launch WPS Spreadsheets and open your existing Excel workbooks to continue your work seamlessly.
Highly compatible with Microsoft Excel (.xlsx, .xlsm) formatsLightweight application with fast installation and startup timesFree to use with a familiar, easy-to-navigate interfaceSupports modern VBA in advanced versions for smooth macro transitions
microsoft office alternative - wps office

Frequently Asked Questions

Why does Microsoft Edge open when I run my old VBA macro?

When Internet Explorer is removed from Windows, the system automatically redirects InternetExplorer objects created in VBA to Microsoft Edge. However, this redirection does not grant VBA access to Edge's Document Object Model (DOM).

Can I use Internet Explorer Mode in Edge to run my VBA scripts?

No. Enabling Internet Explorer Mode in Microsoft Edge allows you to view legacy websites, but it does not restore COM automation or DOM access for VBA projects relying on Microsoft Internet Controls.

Is it safe to copy old iexplore.exe files to restore VBA functionality?

No. Copying system files or DLLs from older Windows installations is strictly unsupported, highly insecure, and will not successfully restore VBA web automation functionality.