Replace the Legacy IE WebBrowser Control in Access and Excel
The IE-based WebBrowser control stopped rendering modern CSS and JavaScript years ago. If your VBA application uses it, you've seen the broken layouts and script errors. LiteView2 is the Chromium-based replacement — same VBA integration pattern, modern rendering engine, hundreds of documented methods.
WebBrowser Control Replacement
Replace the Legacy WebBrowser Control in VBA — Without Rewriting Your App
Works in VBA (Excel, Access, Word, Outlook, PowerPoint, Visio, Project), VB6, VB.NET, C#, C++, Delphi, Python, PowerShell, AutoIt — and any COM host.
LiteView2 is a Chromium WebView2 ActiveX control that replaces the legacy IE WebBrowser control in VBA. Your forms, business logic, and data layer stay in VBA unchanged. Only the browser-interaction code path migrates — from MSHTML object model calls to LiteView2's documented WebView2-style API methods. For most apps, that is hours to days of focused work on one code path, not months on the whole application.
30-day commercial trial · No telemetry · Same APIs in trial and production · Works in 32-bit and 64-bit
Why developers are replacing the WebBrowser control right now
"For future app development, we recommend using WebView2."
— Microsoft, Internet Explorer 11 desktop app retirement FAQ
The old control still loads, and Microsoft still supports it through at least 2029. It renders with the Internet Explorer 11 engine, which many modern websites no longer support, and Access's new Edge Browser Control has no Object property, so code that used the old control's DOM has no direct equivalent.
What changed when Internet Explorer 11 was retired
Microsoft retired the Internet Explorer 11 desktop application on June 15, 2022, on certain versions of Windows 10, and recommends WebView2 for new development. The legacy WebBrowser control is built on the IE engine (MSHTML), which Microsoft still supports through at least 2029. It continues to function, but it renders pages with an engine that is years behind modern HTML, CSS and JavaScript.
Many modern websites and scripts no longer support the IE engine. For developers shipping internal tools and dashboards, this is an increasing problem as the web pages their controls load grow more modern.
Honest migration scope: what changes, what stays
LiteView2 is not a drop-in replacement with identical APIs. WebView2 (Chromium) and MSHTML (Internet Explorer) are fundamentally different browser engines with different object models. Here is the honest scope breakdown:
Stays the same
All Access/Excel forms, business logic, VBA data layer, DAO/ADO recordsets, SQL, form events, report printing
Migrates in one code path
Browser-interaction code: DOM reads/writes, JavaScript calls, navigation, events. MSHTML object model → LiteView2 WebView2-style APIs
Does NOT apply
No language migration, no framework change, no VBA rewrite, no .NET migration, no Electron redistribution
Side-by-side code comparison
The call patterns are different but the scope is narrow. Here is the same operation in the legacy MSHTML model vs LiteView2:
Legacy WebBrowser (MSHTML)
' Navigate
WebBrowser1.Navigate "https://example.com"
' Read DOM element
Dim doc As Object
Set doc = WebBrowser1.Document
Dim val As String
val = doc.getElementById("user-email").value
' Run JavaScript
WebBrowser1.Document.parentWindow _
.execScript "myFunction()", "JavaScript"
' No JSON engine — parse manually
LiteView2 (WebView2 / Chromium)
' Navigate
m_lv.Navigate "https://example.com"
' Read DOM element (no Document object needed)
Dim val As String
val = m_lv.GetElementValueById("user-email")
' Run JavaScript
m_lv.ExecuteScript "myFunction()"
' Built-in JSON engine
Dim j As Object
Set j = CreateObject("LiteView2.Json")
Debug.Print j.GetValue(response, "$.user.name")
Deployment options
LiteView2 supports two deployment paths so you can match your environment:
Registered Mode
Run LiteView2 Setup (liteview2-setup.zip) once per machine (admin required); it installs and registers both the 32-bit and the 64-bit control. Drop the control on any form from the Toolbox. VBA events fire automatically.
Reg-Free Mode
Copy OCX files next to your .accdb. Paste one bootstrap module. No admin rights, no regsvr32, no IT ticket. Same .accdb copies to any PC and runs.
Why not use the alternatives?
Why not Microsoft's new Edge Browser Control?
Microsoft's Edge Browser Control is an Access control: Microsoft's article applies to Access for Microsoft 365 and Access 2024. It is not available in Excel, Word, Outlook, PowerPoint, VB6 or other hosts. LiteView2 works in all of those. See the full feature comparison.
Why not just rewrite in .NET or Electron?
Rewriting an Access app with tens of thousands of lines of VBA in .NET WinForms is a 6–18 month project. Electron means redistributing a 200MB runtime per install. LiteView2 keeps your entire app in VBA — only the browser-interaction code path migrates from the MSHTML object model to WebView2-style APIs. For most existing apps, that is hours to days of focused work on one code path, not months on the whole application.
Why not a .NET Chromium library or a community OCX wrapper?
.NET-native Chromium bindings are excellent inside .NET — they have no VBA or ActiveX story. Community OCX wrappers are valuable but typically labeled beta by their own authors and ship without commercial support. LiteView2 is commercially supported software: bug reports are triaged, and licensing is clear for enterprise deployment.
Frequently asked questions
Is the WebBrowser control deprecated?
Microsoft doesn't call it deprecated. It still supports the MSHTML engine and the WebBrowser control through at least 2029, and for future app development it recommends WebView2. The control uses the Internet Explorer 11 engine, so many modern pages and scripts do not work in it.
Will my existing HTML pages still work with LiteView2?
Modern HTML5 pages work better with LiteView2 than with the legacy IE engine — LiteView2 uses Chromium (the same engine as Google Chrome) which supports current HTML, CSS, and JavaScript standards. Pages that relied on IE-only behaviours (ActiveX plugin objects, conditional comments, VBScript in the page) will need updating, but those are already broken in modern browsers.
Does LiteView2 work in both 32-bit and 64-bit Office?
Yes. LiteView2 ships both LiteView2_x86.ocx (for 32-bit Office) and LiteView2_x64.ocx (for 64-bit Office). In Reg-Free Mode the bootstrap module auto-selects the correct file using the #If Win64 Then conditional. Both files are included in the trial download.
Does WebView2 Runtime need to be installed separately?
Windows 11 includes the WebView2 Runtime, and Microsoft has installed it on all eligible Windows 10 devices. Microsoft 365 Apps (Version 2101 or later) also installs it on Windows. On older systems without the runtime, LiteView2 displays a one-time prompt to install it. The runtime install takes under 30 seconds and does not require admin rights on most configurations.
Can I start with a trial before purchasing?
Yes. The 30-day trial includes the full documented API surface — every method and event — the JSON engine, both registered and reg-free modes, and commercial use. No feature is locked during the trial. Download the trial and follow the 5-minute quickstart.
Modernize the browser — skip the language migration
Your forms, business logic, and data layer stay in VBA. Only the browser-interaction code path migrates. Free 30-day trial, full functionality.
Download free 30-day trial
30-day commercial trial · No telemetry · 32-bit and 64-bit · No admin required (reg-free mode)
See also: LiteView2 vs Edge Browser Control · WebView2 ActiveX for VBA · Deploy without admin rights · Reg-Free Mode deep dive