7

I saw a lot of examples in MSDN on how to use MSHTML in VS. Have anyone known if and how we can use MSHTML and VBA to open web pages?

Adrian Mole
  • 49,934
  • 160
  • 51
  • 83
Martin08
  • 20,990
  • 22
  • 84
  • 93

1 Answers1

13

In the VBA editor, you go under Tools -> References and add a reference to the Microsoft HTML Object Library [MSHTML.TLB]. Here is a link with an example in VBA.

Will Rickards
  • 2,776
  • 2
  • 19
  • 25