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?
我在MSDN中看到了很多关于如何在VS中使用MSHTML的例子。有谁知道我们是否以及如何使用MSHTML和VBA打开网页?
Thanks.
谢谢。
1 个解决方案
#1
9
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.
在VBA编辑器中,您可以在“工具” - >“引用”下进行操作,并添加对Microsoft HTML对象库[MSHTML.TLB]的引用。以下是VBA中的示例链接。
#1
9
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.
在VBA编辑器中,您可以在“工具” - >“引用”下进行操作,并添加对Microsoft HTML对象库[MSHTML.TLB]的引用。以下是VBA中的示例链接。