Perfect, Thanks Bruce.
Public Sub extractJson()
Dim dSet As New cDataSet, cb As New cBrowser, jo As New cJobject, url As String
On Error GoTo extractJson_err
'get the url from a named cell range, switch to import sheets
url = Range("lenniesJsonUrl").Value2
Sheets("import").Select
'Application.ScreenUpdating = False
Application.Calculation = xlManual
'fetch the Json from the url, parse it from the object name (entry) and populate the specified range
With cb
With JSONParse(.httpGET(url))
dSet.populateJSON(.child("entry"), Range("import!$a$1")).tearDown
.tearDown
End With
.tearDown
End With
extractJson_clean:
Application.ScreenUpdating = True
Application.Calculation = xlAutomatic
Exit Sub
extractJson_err:
MsgBox "Error: " & vbCrLf & vbCrLf & Err.description
Err.clear
Resume extractJson_clean
End Sub