VBA Code to expor content of individual cells within a column, as separate JSON files in a folder

pedexe90

Board Regular
Joined
Apr 18, 2018
Messages
59
This is a tricky one but I know someone would find it a piece of cake here.

Is there a way to create a collection of JSON Files in a folder based on the content of individual cells in a column in excel?

So basically, I have a spreadsheet with a column starting with cell B12 to B26. Each cell contains a JSON script. I want a VBA that would convert each of these cells into a separate JSON File and create a collection in a folder so I can run in Postman.

Note: Each cell contains a lengthy (40 lines within 1 cell) JSON Script.

excelerator.solutions/2017/08/24/… and stackoverflow.com/questions/56842122/…suggest ways of converting/exporting to JSON but my job is actually easier as I have no variables. All I want is to have VBA linked to a button, that would export contents of cells within a column to multiple JSON files in a folder.
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.

Forum statistics

Threads
1,214,545
Messages
6,120,132
Members
448,947
Latest member
test111

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top