Catch redirect url

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
For the sake of clarity I try to keep my question plain and simple.
I use this vba Excel code in a Do Loop:
Set XML = CreateObject("Microsoft.XMLHTTP")
XML.Open "GET", strURL, False<br/>
XML.send
Which works fine, but sometimes I encounter a redirect url. All I want to do is catch that redirect url as a string?
Thanks,<br/>
B


View the full article
 
Back
Top