电脑教程
位置:首页>> 电脑教程>> office教程>> Excel VBA切换识别IE窗口

Excel VBA切换识别IE窗口

  发布时间:2022-05-01 18:21:14 

标签:VBA切换识别IE窗口

Dim objShell As Object
Dim objIE As Object
Dim n As Integer
Set objShell = CreateObject("Shell.Application")
For n = objShell.Windows.Count To 1 Step -1
Set objIE = objShell.Windows(n - 1)
If objIE Is Nothing Then
Exit For
End If
If Right(UCase(objIE.FullName), 12) = "IEXPLORE.EXE" Then
Debug.Print objIE.document.URL
If objIE.document.URL = http://www.office26.com Then
End If
End If

Excel VBA切换识别IE窗口的下载地址:


     

0
投稿

猜你喜欢

手机版 电脑教程 asp之家 www.aspxhome.com