Inhaltsverzeichnis
4.1 VBA Grundlagen
Datenzugriff per VBA-Code (Excel, Access, Word).
HTTP-Anfrage
Function GetData(url As String) As String Dim http As Object Set http = CreateObject("MSXML2.XMLHTTP") http.Open "GET", url, False http.send GetData = http.responseText End Function
Beispielaufruf
Sub TestGateway() Dim json As String json = GetData("http://localhost:5000/api/v1/dsn/demo/tables") Debug.Print json End Sub
JSON parsen
Für JSON-Parsing empfohlen: VBA-JSON Library
Dim data As Object Set data = JsonConverter.ParseJson(json)
Zuletzt geändert: den 29.01.2026 um 15:12