The OP was asking about exporting to JSON.
Whilst you can IMPORT JSON files into Excel using Get and Transform, you cannot export data to JSON from Office programs
The OP was asking about exporting to JSON.
Whilst you can IMPORT JSON files into Excel using Get and Transform, you cannot export data to JSON from Office programs
No I hadn't seen either of those before.
Unless I'm mistaken, the first link is just for flat file structures.
The second one says it supports nested structures but doesn't show any examples of that.
More complex JSON files can have several levels of subarray nested within each other. Achieving that would be a real challenge
It's quite hard to find VBA information relating to JSON.
Writing both JSON and XML files is relatively straightforward from first principles, but you need to understand the file structure you are creating, hence the first issue noted.