Hi,
1. A Excel file has multiple sheets in it.
2. Need to 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"
So how to write VBA macro to achieve this?
1. A Excel file has multiple sheets in it.
2. Need to 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"
So how to write VBA macro to achieve this?