Hi Experts,
I'm trying to parse a JSON string in Excel VBA into an array so that I can write it in table-format into a sheet.
Example: I have this JSON string in cell A1 "rows":[["20120604", "ABC", "89"],["20120604", "BCD", "120"],["20120604", "CDE","239"]]
The final result in my sheet should look like this:
20120604 | ABC | 89
20120604 | BCD | 20
20120604 | CDE | 239
The format of the content inbetween the [ ] could be anything.
Example 1:
"rows":[["20120604","122"],["20120604","239"],["20120604","150"]]
Example2:
"rows":[["ABC","34"],["BCD","111"],["CDE","459"]]
Example3:
"rows":[["20120604", "ABC", "89"],["20120604", "BCD", "120"],["20120604", "CDE","239"]]
Example4:
"rows":[["XYZ", "ABC", "89","15"],["WXY", "BCD", "120","11"],["VWX", "CDE","239","19"]]
Does anyone have any ideas and would be willing to share his/her wisdom ith me?
Thanks a lot for reading
I'm trying to parse a JSON string in Excel VBA into an array so that I can write it in table-format into a sheet.
Example: I have this JSON string in cell A1 "rows":[["20120604", "ABC", "89"],["20120604", "BCD", "120"],["20120604", "CDE","239"]]
The final result in my sheet should look like this:
20120604 | ABC | 89
20120604 | BCD | 20
20120604 | CDE | 239
The format of the content inbetween the [ ] could be anything.
Example 1:
"rows":[["20120604","122"],["20120604","239"],["20120604","150"]]
Example2:
"rows":[["ABC","34"],["BCD","111"],["CDE","459"]]
Example3:
"rows":[["20120604", "ABC", "89"],["20120604", "BCD", "120"],["20120604", "CDE","239"]]
Example4:
"rows":[["XYZ", "ABC", "89","15"],["WXY", "BCD", "120","11"],["VWX", "CDE","239","19"]]
Does anyone have any ideas and would be willing to share his/her wisdom ith me?
Thanks a lot for reading