Save Excel Table to a JSON File with Simple VBA Macro

  Рет қаралды 50,686

SyntaxByte

SyntaxByte

Күн бұрын

Пікірлер: 50
@deeperblue77
@deeperblue77 Жыл бұрын
Thanks! Exactly what I needed! 😃
@mafnomekanix5442
@mafnomekanix5442 2 жыл бұрын
I found this in 2023. Good job dude. I love this
@archanaghodeswar8130
@archanaghodeswar8130 Жыл бұрын
Thanks. This code worked for me.
@ameyavarma8568
@ameyavarma8568 8 ай бұрын
Your a life saver! Thanks for doing my job for me:)
@MelissaPortales
@MelissaPortales 2 жыл бұрын
Great tutorial, thanks!
@Pseudo___
@Pseudo___ 3 жыл бұрын
Okay but what if I got multiple arrays in multiple objects with properties sporadically throughtout,?
@valkingelf
@valkingelf Жыл бұрын
Thank you, It helps me a lot!
@jonusdarr2443
@jonusdarr2443 2 жыл бұрын
I'm a nub and I got this. Thanks a lot.
@andrewcosgrove6447
@andrewcosgrove6447 3 жыл бұрын
I got a "run time error '9': subscript out of range" error on this line: "For Each c In ActiveSheet.ListObjects(1).HeaderRowRange.Cells" any idea why?
@na-ql3sm
@na-ql3sm 3 жыл бұрын
Did you ever figure this out? I am getting the same error.
@eToolGuy
@eToolGuy 3 жыл бұрын
@@na-ql3sm Your grid data needs to be defined as an Excel Table. Select the data you want to convert, then Go to then on the Ribbon and select a style.
@victorrichtmann3590
@victorrichtmann3590 3 жыл бұрын
The tutorial is very good. This worked well for me. But it doesn't work with a special character. Do you have any idea how to adjust as a special character?
@jonusdarr2443
@jonusdarr2443 2 жыл бұрын
Did you solve this? Thanks
@mattkolberg2409
@mattkolberg2409 9 ай бұрын
This is really good. Just some constructive criticism. Speaking live, or narrating in a video, you want to avoid doing things that distract the listener. For you, it's taking a sip of whatever it is you're drinking. It happens very often. You'll be a better speaker if you avoid that.
@fortunesipay149
@fortunesipay149 5 ай бұрын
I came to the comment to say the exact same thing.
@secretstorymusic
@secretstorymusic 2 жыл бұрын
It would be great to know how to store individual lines as separate files as my log only allows single line files to be read.
@vidhijindal21
@vidhijindal21 2 жыл бұрын
Did you achieve that? I am looking for the same.
@secretstorymusic
@secretstorymusic 2 жыл бұрын
@@vidhijindal21 Not yet. I'm considering loading my data into SAS and automating a macro to save as different files. Will LYK if that works.
@michaelboggs438
@michaelboggs438 Жыл бұрын
Is it possible to modify this so that the only outputs are strings? I'm trying to get data to upload into Cosmos DB for Azure, and Azure really likes string data inputs.
@edderantonioparranaranjo4919
@edderantonioparranaranjo4919 3 жыл бұрын
It helped me a lot, thank you
@jakebrett3754
@jakebrett3754 3 жыл бұрын
Dont know if you guys gives a shit but if you're bored like me atm you can stream all the new series on instaflixxer. Been watching with my gf for the last weeks :)
@kadenmekhi4737
@kadenmekhi4737 3 жыл бұрын
@Jake Brett Yup, have been using instaflixxer for since december myself :)
@patrickdanielmanalo3502
@patrickdanielmanalo3502 2 жыл бұрын
I got a "Run time error '424' Object Required" on this line "Print #fileNumber, JsonCoverter.ConvertToJson(collectionToJson, Whitespace:=2)" any idea why?
@patrickdanielmanalo3502
@patrickdanielmanalo3502 2 жыл бұрын
@user-rg4ze1uj7d any ideas?
@vsChris
@vsChris Жыл бұрын
I'm getting the same error. Were you ever able to figure this out?
@alejandroarmagedon8095
@alejandroarmagedon8095 Жыл бұрын
ya te solucionarion?
@phaneeshanagraj9232
@phaneeshanagraj9232 2 жыл бұрын
How to add data from multiple workbook and convert into JSON format
@blankcheckguy69
@blankcheckguy69 3 жыл бұрын
is there a simple line of code I can add that allows the converter to skip a column if there is no value attatched in the table (ie. left blank) ? trying to format metadata for a large-scale NFT project (non-generative/where the art was done by hand) and we don’t need any extraneous properties as they literally should not exist if the piece of art does not call for it.
@ВладимирГригин-п9о
@ВладимирГригин-п9о 2 жыл бұрын
Hi! How to save JSON in format UTF-8? Tnx!
@crocodilearms2093
@crocodilearms2093 2 жыл бұрын
How do you build a complex table and export to nested json? {"id":"0","attributes":[{"name":"one","value":"1"},{"name":"two","value":"2"}],"description":"The \"description\""}
@basasasas1
@basasasas1 2 жыл бұрын
you found a solution?
@crocodilearms2093
@crocodilearms2093 2 жыл бұрын
@@basasasas1 I did. Not an elegant one!
@kanishksharma9828
@kanishksharma9828 3 жыл бұрын
My Button is not working, I can click it but it is not working! :(
@na-ql3sm
@na-ql3sm 3 жыл бұрын
did you figure it out?
@kanishksharma9828
@kanishksharma9828 3 жыл бұрын
@@na-ql3sm no not yet
@DepechLyot
@DepechLyot 2 жыл бұрын
it adds -- Private Sub CommandButton1_Click() extra End Sub need delete them
@sheheryarsarwar5140
@sheheryarsarwar5140 2 жыл бұрын
You need to check might be your design mode is on under development.
@DepechLyot
@DepechLyot 2 жыл бұрын
@@sheheryarsarwar5140 no, he said can click it.
@alejandroarmagedon8095
@alejandroarmagedon8095 Жыл бұрын
help!! ERROR 424
@Happy-cz8ft
@Happy-cz8ft Ай бұрын
Only shows you that you need to download an function.
@sumthinsbrewin
@sumthinsbrewin 2 жыл бұрын
Your constant slurping is rather annoying.
@johankneijber
@johankneijber Жыл бұрын
Completely agree. Otherwise very good.
@paddy1813
@paddy1813 Жыл бұрын
I was surprised how often someone has to drink during a video recording...
@rogerdoger303
@rogerdoger303 8 ай бұрын
Is that coffee you're drinking? 🙂
@mohamad.Khaled
@mohamad.Khaled 9 ай бұрын
thx
@serhiirumiantsev7736
@serhiirumiantsev7736 3 жыл бұрын
Script is not working, it shows error
@na-ql3sm
@na-ql3sm 3 жыл бұрын
did you figure it out?
@eimhalim9796
@eimhalim9796 18 күн бұрын
oh my god.. i found it quite distracting when u keep sipping whatever that is you're drinking.
@1982dhanu
@1982dhanu 4 ай бұрын
Hi, Found this very useful But I get this Run time error '438' at line, I guess HeaderRowRange has to be used by a fixed length now. Are you planning to change your code ?. 'For Each c In ActiveSheet.ListObject(1).HeaderRowRange.Cells'
Learn JSON in 10 Minutes
12:00
Web Dev Simplified
Рет қаралды 3,3 МЛН
Master VBA Debugging in 20 Minutes
22:08
Excel Macro Mastery
Рет қаралды 41 М.
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН
EASILY Make an Automated Data Entry Form in Excel
14:52
Kenji Explains
Рет қаралды 1,1 МЛН
How to Convert Excel Data to JSON Using VBA
25:59
Eric Burnett
Рет қаралды 31 М.
Use Excel VBA to Read API Data
20:48
Excel Macro Mastery
Рет қаралды 146 М.
Excel Map with Canadian Postal Codes
7:53
SyntaxByte
Рет қаралды 21 М.
5 Excel Secrets You'll Be Embarrassed You Didn't Know
17:32
Excel Campus - Jon
Рет қаралды 293 М.
Use This Trick to Automate Any Excel Task (Better Than Macros)
10:53
Kenji Explains
Рет қаралды 155 М.
Excel Macros & VBA - Tutorial for Beginners
50:20
Kevin Stratvert
Рет қаралды 1,3 МЛН
How is this Website so fast!?
13:39
Wes Bos
Рет қаралды 1,3 МЛН
13.6: XML and JSON - Processing Tutorial
18:00
The Coding Train
Рет қаралды 128 М.
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН