Petrichor
  • Reading, United Kingdom
  • Member for 3 years, 8 months
Stats
101
reputation
0
reached
1
answers
0
questions
About

MEng, PhD candidate. A bit of experience in C++, Fortran 77 and now VBA via excel.

Saving for a later project, scraping and analysing data for fantasy football:

 Public Sub exceljson()
Dim https As Object, Json As Object, i As Integer

Dim Item As Variant

Set https = CreateObject("MSXML2.XMLHTTP")
https.Open "GET", "https://min-api.cryptocompare.com/data/price?fsym=USD&tsyms=BTC", False
https.Send

Set Json = JsonConverter.ParseJson(https.responseText)

i = 2
For Each Item In Json.Items
    Sheets(1).Cells(i, 2).Value = Item
    i = i + 1
Next
MsgBox ("complete")
End Sub
This user doesn’t have any gold badges yet.
This user doesn’t have any silver badges yet.
3
bronze badges

Top tags (1)

Score 0
Posts 1
Posts % 100

Top posts (1)