Hello Everyone
I have a webaddress around 1,000 in column, everything is 302 (Redirecting to another website). IS there any way to find the redirecting website address in Excel. Because I have code,
This is ok for 1-10 urls, if its more than 1000, it will take a day to find web address.
Any suggestion?
I have a webaddress around 1,000 in column, everything is 302 (Redirecting to another website). IS there any way to find the redirecting website address in Excel. Because I have code,
Code:
Function redirect_url(surl As String) As String
Dim myIE As Object
Set myIE = CreateObject("InternetExplorer.Application")
myIE.Navigate surl
Do While myIE.busy
Loop
redirect_url = myIE.Document.URL
myIE.Quit
Set myIE = Nothing
End Function
Any suggestion?