ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Get Browser Address (https://www.excelbanter.com/excel-programming/390065-get-browser-address.html)

George Heimovics

Get Browser Address
 
Using VBA in Excel, How can I grab the current address from an opem IE
browser window?

NickHK

Get Browser Address
 
George,
The simplest way (VB5/6) is to use DDE, possibly the only time I have used
it:
http://vbnet.mvps.org/code/internet/browserurl.htm

Not sure if recent updates will prevent this.

However, VBA does not support DDE from its native controls, but you can from
a cell. Never tried it though like this.
This site has a DEE client control that you may be able to use:
http://www.angelfire.com/biz/rhamini...ml#DDEDownload

Otherwise look into automation.

NickHK

"George Heimovics" wrote in
message ...
Using VBA in Excel, How can I grab the current address from an opem IE
browser window?





All times are GMT +1. The time now is 05:57 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com