```vba Private Function json_ParseObject(json_String As String, ByRef json_Index As Long, ByRef json_Length As Long) As Dictionary Dim json_Key As String Dim json_NextChar As String Set json_ParseObject = Scripting.Dictionary End Function ``` instead of using early binding. we can use late binding. so that user don't have to goto option > reference and select Scripting.Runtime library ```vba Private Function json_ParseObject(json_String As String, ByRef json_Index As Long, ByRef json_Length As Long) As Object Dim json_Key As String Dim json_NextChar As String Set json_ParseObject = CreateObject("Scripting.Dictionary") End Function ```
Activity
Nick-vanGemeren commentedon Jun 28, 2026
Early binding is used for:
Dictionaryobjects.Scripting.Dictionaryis not available on Mac. Users have to include the class module from VBA-Dictionary.kausarkhanlp504-2 commentedon Jun 29, 2026