Shell "C:\Program Files (x86)\Internet Explorer\IExplore.exe www.baidu.com"
IE的位置跟Windows版本有关,以上是Win7 64位,可以自行查找确定
不要用shell先引用shdocvw.dll,他是Internet Explorer的类库
加一个命令按钮
Dim ie as InternetExplorer
Private Sub Command1_Click()
Set ie = GetObject("","InternetExplorer.Application")
ie.AddressBar=True
ie.Visible=True
End Sub
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)