VBA Encyclopedia
To update on new Automation Techniques using Excel,Ms Access, SQL Server, Power BI and ASP.Net
Tuesday, October 16, 2012
Get URL/Win Explorer from Web Browser
Sub GetOpenWindowsList()
Dim SWs As New SHDocVw.ShellWindows
Dim IE As SHDocVw.InternetExplorer
For Each IE In SWs
'MsgBox IE.LocationName
'below mentioned line retrieves URL/Explorer from Internet Explorer
MsgBox IE.LocationURL
Next IE
End Sub
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment