Is there a way to copy the request Url into Excel using VBA. The code i use at the moment copies the Location Url into Excel. But i really need the request Url. This Url you can find using Developer tools in Internet Explorer and look at Network.
My code right now:
Sub GetUrl()
    Const READYSTATE_COMPLETE As Long = 4
    Dim IE As Object
    Set IE = CreateObject("InternetExplorer.Application")
    IE.Navigate Cells(1, 1).Value
    '// Wait for page to finish loading
    While IE.Busy Or IE.ReadyState <> READYSTATE_COMPLETE
    DoEvents
    Wend
    Cells(1, 10).Value = IE.LocationURL
End Sub
 
     
    