Hi guys,
I am wondering how i can get the data in chart from financials -> income statement.
My actual code is not able to get it and I dont know why :
Sub Financials_Income_statement()
ticker = Sheets(1).Cells(1, 1)
qurl = "https://finance.yahoo.com/quote/" & ticker & "/balance-sheet?p=" & ticker & ""
Sheets(3).Select
Sheets(3).Cells.Clear
With ActiveSheet.QueryTables.Add(Connection:="URL;" & qurl, Destination:=Sheets(3).Range("A1"))
.BackgroundQuery = True
.Refresh BackgroundQuery:=False
End With
End Sub
Thanks,
JF