Excel sheets parsing in to JSON using VBA Macro

itpgm21

New Member
Joined
Nov 22, 2018
Messages
5
Hi,

Need to parse a excel sheet containing multiple sheets in it in to a JSON using VBA Macro.
And during JSON conversion below should be achieved.

1. The file has multiple sheets.
2. Create a Macro button in a new sheet and call it as Refresh JSON.
3. On click of the above button, the following should be achieved
a. Parse data in all sheets into JSON. The number of sheets and number of columns in each sheet might vary.
b. Write this into an output file as XYZIndex.json – Single out put file containing data from all sheets ,Save the file in the same location as the excel.
c. Note that Column A (Name) of every sheet has hyperlinked data. This should get parsed as "Name": "filename", "URL": "file complete address"


Thanks
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
@itpgm21
While we do not prohibit Cross-Posting on this site, we do ask that you please mention you are doing so and provide links in each of the threads pointing to the other thread (see rule 13 here along with the explanation: Forum Rules).
This way, other members can see what has already been done in regards to a question, and do not waste time working on a question that may already be answered.
 
Upvote 0
posted here:-https://www.excelforum.com/excel-programming-vba-macros/1253974-excel-to-json-conversion-using-vba-macro.html
but got answer from none of these forum yet.
 
Upvote 0
kyle what alogorith do you use to identify whether this post has been posted in other forum as well just curious to know or you are the owner of these 2 forums?
only intention is to ge my queries orted ut the on thsforum o other form but not to be blocked on both of hese forums.
 
Upvote 0
Many of the members here are also members of other sites. Therefore there is a good chance that somebody will notice if you post the same question on multiple sites.
This site is owned By Bill Jelen & has nothing to do with ExcelForum.
 
Upvote 0
ok,thanks for reply now can someone please focus on main problem and help to findout answer of my query soon?
 
Upvote 0

Forum statistics

Threads
1,224,914
Messages
6,181,720
Members
453,064
Latest member
robatthe2A

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