Attempting to download data using a link to a file. IE opens and navigates to the file but a popup window asks me to open the file. I need to click this open button. Requesting help with navigating the pop up. Here is my code thus far:
Sub GetData()
Const cURL = "http://www.bankofengland.co.uk/statistics/Documents/yieldcurve/ukinf05.xlsx"
Dim IE As InternetExplorer
Dim doc As HTMLDocument
Dim HTMLelement As IHTMLElement
Set IE = New InternetExplorer
IE.Visible = False
IE.Navigate cURL
End Sub