代码好像不全?是不是这样?- Dim win,objshell
- 'Set ws=createobject("wscript.shell")
- Set win=CreateObject("InternetExplorer.Application")
- Set objshell=CreateObject("Shell.Application")
- For Each win In objshell.Windows
- If LCase(Right(win.fullName,12))="iexplore.exe" Then
- msgbox win.LocationURL
- if win.LocationURL="about:blank" then
-
- end if
- End If
- Next
- Set Shell=Nothing
复制代码 但是好像不能起作用,msgbox没显示 |