8

Like the title asks, Certain tools I use rely on VBA code with Internet Control to web scrape and control IE pages. With the IE11 end of life coming next year does anyone have any understanding on how that would effect Internet Control in VBA or if it will still function? Trying to figure out if we need to accelerate a change into another language.

Edit: In my research I found an article showing a windows build with the sunset already in place. No IE installed and the VBA Internet Controls function will not launch IE. This is the only thing I've seen about it but I'd love to know if anyone has experience with this?

Rufom1
  • 89
  • 9
  • Most of that code hasn't changed since the 90's so you can probably leave it. That said, even Microsoft are nudging people away from VBA these days so it's a good idea to consider next steps. – Absinthe Sep 14 '21 at 14:11
  • I wouldn't rely on it. – Boann Sep 14 '21 at 20:17
  • https://answers.microsoft.com/en-us/msoffice/forum/all/solved-whats-going-to-happen-to-microsoft-internet/32e237e9-39f7-43da-ab37-0043f3e92ca4 – QHarr Jun 14 '22 at 19:40

4 Answers4

3

It won't magically disappear but it won't ever be updated again. It might also be absent from future versions of Windows, like you have noticed. If you rely on this code you will need to find a way to install IE on machines where it isn't installed. I would not want to be in that position. Running EOL libraries like this opens you up to potential security and reliability concerns. You want to have a plan B in the works before you suddenly need it.

The new web browser in Windows (Edge) is found in an object called Microsoft.Web.WebView2 or Windows.Web.Winmd which are not COM visible. There is an open question about that

If you make an office addin solution in VB.NET or C# then you can use this new WebView. You could make a command line tool that is called from Excel, and returns results to a file, like CSV.

Ultimately, you're better off using the right tool for the job. You can still process the data in Excel but the actual data collection should be done by a modern web scraper or a VBA library.

HackSlash
  • 4,944
  • 2
  • 18
  • 44
  • Just for more information, I looked into the linked VBA Library. It uses WinHttp as opposed to MSXML, which helps in my case. As does the part of Edge not having a COM component. – phrebh May 24 '22 at 17:29
0

From the official blog, Internet Explorer 11 desktop application will be affected by IE 11 retirement. It also says:

Both WebOC and the MSHTA app will continue to be supported as they rely on the MSHTML engine which is unaffected by this announcement. If you have a custom or third-party app that relies on the MSHTML platform, you can expect it to continue to work.

But if you use some code like Navigate2 and Visible to operate the Internet Explorer browser (Internet Explorer 11 desktop application), it won't work and it won't open IE browser.

Yu Zhou
  • 11,532
  • 1
  • 8
  • 22
0

Which platforms will be affected when the IE11 desktop application is retired and goes out of support on June 15, 2022?

Out of scope at the time of this announcement (unaffected):

Internet Explorer mode in Microsoft Edge Internet Explorer platform

(MSHTML/Trident), including WebOC Internet Explorer 11 desktop application on: Windows 8.1 Windows 7 Extended Security Updates (ESU)

Windows Server SAC (all versions) Windows 10 IoT Long-Term Servicing

Channel (LTSC) (all versions) Windows Server LTSC (all versions)

Windows 10 client LTSC (all versions)

My company has quite a few web scraping apps which use IE. If we could have switched them to Selenium or Python, we would have.

Keith Swerling
  • 136
  • 1
  • 6
0

I have a big Excel VBA application that does data scraping and then calculations etc. The data scraping was done with IE which until now was supported by Windows 10. As I understood that IE was going to die I converted the data scraping part of the application to be done with Selenium for three browsers, Chrome, Firefox and Edge. It works perfectly fine and even helped me tune the timing problems of data scraping. The problem I faced was that each supported browser requires a driver with a matching version. You do not want your customers to deal with different driver versions. All drivers must be part of the published package. One more important point. The new scraper was written with .NET VSTO.

davidsbro
  • 2,761
  • 4
  • 23
  • 33
ckosh
  • 7
  • 2
  • Python has a package that automatically updates the driver. If you're doing web scraping anyway then I think Python is a much better tool. – Chadee Fouad May 10 '22 at 05:43