How would I call WebView2 and other modern winmd features in VBA

1.2k Views Asked by At

I would like to embed a modern WebView2 component (Edge Chromium Browser Control) inside an old-style VBA UserForm.

I surmise that I would need the following installed on the system:

  • Edge Chromium Broswer
  • Webview2 SDK

While I have the Edge Chromium Browser installed I am unsure how to install the Webview2 SDK outside of the context of a specific Visual Studio Project. To use it in a VBA solution it needs to reference some sort of global system-wide file?

Then, apparently the type library which contains the functionality we need to embed the Edge browser is Windows.Web.winmd. I presume I would need to "reference" that in some way but I am not sure how...

1

There are 1 best solutions below

0
Sam On

The closest thing I have found to answering this question is the following set of dlls:

http://vbrichclient.com/#/en/Downloads.htm