I need to open a url in the default web browser using Excel VBA. It should work both in PC as well as Mac.
I also need to get hold of the browser instance so I can access its document object and read some of the html elements or anything from the page rendered in the browser.
I know how to open InternetExplorer using CreateObject
which gives you back the browser instance. Maybe in Mac I can open the Safari browser the same way. But I want to open the default web browser and also get the browser instance.