Replace the Embedded Internet Explorer Browser in Excel VBA
Question details
The user needs a modern replacement for the embedded Shell.Explorer.2 browser control in Excel VBA because it renders a blank area and no longer submits requests in 64-bit Excel 2021.

- Product
- Microsoft Excel 2021 (64-bit) VBA
- Device & OS
- Windows 10
- Scenario
- Maintaining a VBA UserForm or worksheet control that loads web content through the legacy Shell.Explorer.2 browser.
- Observed behavior
- The control displays a blank area and no longer submits requests.
Before you start, confirm that your Excel 2021 installation is fully updated and that you have access to the original VBA project. Note the web page or request URL loaded by the embedded control so it can be reused in the replacement interface.
Replace the Shell.Explorer.2 control with an Office JavaScript add-in
Use this solution when the legacy WebBrowser control returns a blank area and you need a supported way to run web content inside Excel 2021.
The legacy Shell.Explorer.2 control relies on the retired Internet Explorer engine. In current Windows 10 and 64-bit Office environments, the control may render a blank area and fail to submit requests, so the supported replacement is an Office JavaScript add-in that runs in a task pane.
In Excel, press Alt+F11 to open the Visual Basic Editor and locate the UserForm that contains the Shell.Explorer.2 control.
In the UserForm designer, select the WebBrowser control, then right-click it and choose Delete to remove it from the form.
In Visual Studio Code, use the Yeoman Office generator by running yo office and select an Excel add-in project with a task pane.
Edit the task pane HTML/JavaScript files and manifest.xml so the add-in loads the same URL or web requests that were previously embedded.
In Excel, go to Insert > My Add-ins > Upload My Add-in, select the manifest, and verify that the task pane renders and submits requests correctly.

Switch to WPS Office to Avoid Legacy Excel VBA Browser Issues
WPS Office is a free, lightweight Microsoft Office alternative that opens and saves Excel workbooks, offers familiar ribbon tools, and avoids the deprecated Shell.Explorer.2 control workflow in Excel VBA.

Frequently Asked Questions
Why does Shell.Explorer.2 show a blank area in Excel 2021?
Excel 2021 on Windows 10 does not reliably host the legacy Internet Explorer-based WebBrowser control. When the Internet Explorer engine is disabled or unavailable, the control can appear blank and stop submitting requests.
Can I keep using Shell.Explorer.2 with an Internet Explorer mode workaround?
It is not recommended. Internet Explorer is out of support, and registry or compatibility workarounds may not work in 64-bit Excel. Use a supported replacement such as an Office JavaScript add-in.
What is the difference between an Office JavaScript add-in and the old VBA browser control?
An Office JavaScript add-in runs web content in a modern task pane or worksheet interface using the current WebView runtime. The old Shell.Explorer.2 control relies on Internet Explorer components that are no longer maintained.
Can WPS Office open the macro-enabled Excel workbook that uses Shell.Explorer.2?
WPS Office can open and edit .xlsm macro-enabled workbooks and provides macro support, but it does not rely on Shell.Explorer.2 for web content, so you may need to replace that specific control with a supported interface.




