I'm having trouble selecting the entire webpage, copying it, and pasting onto the excel spreadsheet using the code below through VBA. Also, I'm sure I haven't properly put instructions for the copy-paste procedure.
References for VBA:
Sub Horse10()
Dim ws As Worksheet
Dim http As New XMLHTTP60
Dim html As New HTMLDocument
Set ws = ThisWorkbook.Worksheets("Sheet1")
With http
.Open "GET", "https://www.racingandsports.com.au/Jockey/GetJockeyStats?jockeyIdStr=18658&discipline=T&season=All%20Seasons&hemisphere=S&_=1629813279071", False
.send
'''The issue starts here
http.SelectAll.Copy
ws.Cells(2, 10).Select.Paste
End With
End Sub