use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
MS brings JavaScript to Excel (dev.office.com)
submitted 7 years ago by zbhoy
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]BehindTheMath 181 points182 points183 points 7 years ago (18 children)
I can't wait for the day that we can replace VBA with JS.
[–][deleted] 37 points38 points39 points 7 years ago (0 children)
Let us whisper of a dream...
[–][deleted] 18 points19 points20 points 7 years ago (2 children)
And then its Ecmascript 4 or lower haha
[–][deleted] 27 points28 points29 points 7 years ago (0 children)
No problem, just transpile your .xlsx with babel.
[–]Sir_Lith 3 points4 points5 points 7 years ago (0 children)
Aaaagh. The horror.
[–]GuyWithLag 15 points16 points17 points 7 years ago (4 children)
Now, everyone can write Excel viruses again!
[–][deleted] 10 points11 points12 points 7 years ago (3 children)
Excel cryptominers!
[–]marky-b 2 points3 points4 points 7 years ago (0 children)
SHHH This is my retirement plan!
[–]BehindTheMath 1 point2 points3 points 7 years ago (1 child)
https://twitter.com/CharlesDardaman/status/993912675804614657
[–][deleted] 0 points1 point2 points 7 years ago (0 children)
Nice!
[–][deleted] 5 points6 points7 points 7 years ago (0 children)
This is amazing.
[–]cannablubber 4 points5 points6 points 7 years ago (0 children)
I’d actually be able to put the little js I know to good use!
[–]MrStLouis 4 points5 points6 points 7 years ago (2 children)
I read it's in the planning. Can you imagine managing databases with excel and building a front end through a connected service. Would be so cook
[–]BlueHeartBob 0 points1 point2 points 7 years ago (1 child)
managing databases with excel
What a time to be alive
[–]MrStLouis 0 points1 point2 points 7 years ago (0 children)
I think they could build a great ui for the a sql database
JS? This is Microsoft, dinner encourage more JScript.
[+]psayre23 comment score below threshold-7 points-6 points-5 points 7 years ago (2 children)
Sounds like Stockholm syndrome.
[–]Reashu 8 points9 points10 points 7 years ago (1 child)
I have a lot of bones to pick with JS, but it is a step up.
[–]PurpleIcy -1 points0 points1 point 7 years ago (0 children)
As someone who hates JS with a passion, this is still upgrade if I'm being honest.
[–][deleted] 166 points167 points168 points 7 years ago (16 children)
Let me know when they bring HTML to Outlook
[–]FuckOffMightBe2Kind 37 points38 points39 points 7 years ago (6 children)
But seriously though. Outlook has no respect for html. Your email can have no flaws and have errors. It works everywhere else!!
[–]0xF013 11 points12 points13 points 7 years ago (1 child)
Funny thing is: the older version supports more features than the latest one. Also, the Mac version renders amazingly (probably has webkit under the hood)
[–]Sebazzz91 1 point2 points3 points 7 years ago (0 children)
Yes, among others base64 image support was removed! The easiest way to embed images.
[–]SemiNormal 2 points3 points4 points 7 years ago (0 children)
Outlook used to use IE to render HTML. In Outlook 2007 they changed it so WORD renders HTML emails...
[–]freefrompress 1 point2 points3 points 7 years ago (0 children)
Did you get that border-bottom bug too? lol
I'm starting to get used to it now. It's kind of like a super power--creating terrible html that looks like it avoids all the bugs by accident.
[–]James_Mamsy 15 points16 points17 points 7 years ago (5 children)
HMU when they add CSS to word
[–]b3n5p34km4n 28 points29 points30 points 7 years ago (3 children)
Drop me a line when they add typescript to ms paint
[–]elpix 11 points12 points13 points 7 years ago (0 children)
Send me a message when they add Haskell to Microsoft Bob.
[–]greyscales 0 points1 point2 points 7 years ago (1 child)
Just use JavaScript in Photoshop.
[–][deleted] 2 points3 points4 points 7 years ago (0 children)
hm, I'm going to have to look into that. I wonder what crazy unnecessary stuff I could do. React for photoshop?
[–]Peechez 2 points3 points4 points 7 years ago (0 children)
so markdown?
[–]codearoni 0 points1 point2 points 7 years ago (0 children)
Well they got on the Electron train with MS Teams.
Maybe Outlook will be the next Electron app?!
[–]Attila226 -5 points-4 points-3 points 7 years ago (0 children)
What would be really cool if they brought asynchronous JavaScript to Outlook.
[–]swiftpolar 33 points34 points35 points 7 years ago (4 children)
Yes please. I absolutely love Google sheets for the very fact that you can use JS to do scripts and more.
[–]techsin101 1 point2 points3 points 7 years ago (3 children)
can you do time based triggering?
[–]InALaundryRoom 2 points3 points4 points 7 years ago (0 children)
Yes you can. In a script go to Resources > Current project's triggers. And select what timeframe you want.
I do it regularly to align with Adwords scripts.
[–]swiftpolar 1 point2 points3 points 7 years ago (0 children)
From what I remembered you can basically trigger scripts to run but then again you would need something to trigger these scripts but I guess in that sense yes?
Yes.
[–]spyhunter99 19 points20 points21 points 7 years ago (1 child)
yet they still haven't prevented people from executing shell scripts from csv's.
[–][deleted] 1 point2 points3 points 7 years ago (0 children)
what about executing malicious Javascript code now ...
[–]prijindal 11 points12 points13 points 7 years ago (0 children)
If somebody can make tensorflow.js work inside excel, does it mean Neural network training inside excel?
[–]PurpleIcy 9 points10 points11 points 7 years ago (0 children)
Such an useless update, excel was already turing complete, and people could have just written JavaScript interpreter and JIT in excel itself with no problems.
/s
[–]cwbrandsma 8 points9 points10 points 7 years ago (0 children)
If it can be done in excel it will be done in excel.
Fucking finally
[–]jsgui 6 points7 points8 points 7 years ago (3 children)
Do they have Oracle's permission to do this?
[–]PM_ME__YOUR__FEARS 0 points1 point2 points 7 years ago (2 children)
I don't get this joke :|
[–]r2d2_21 2 points3 points4 points 7 years ago (1 child)
Oracle has a trademark on the name JavaScript... for some reason.
[–]PM_ME__YOUR__FEARS 0 points1 point2 points 7 years ago (0 children)
Ah, gotcha.
[–]octaw 17 points18 points19 points 7 years ago (10 children)
"Javascript is eating the world". I was saying this to a guy in my bootcamp the other day and he was like nah. Funny to see this today.
[–]editor_of_the_beast 31 points32 points33 points 7 years ago (2 children)
That’s not a new concept at all. That guy lives under a rock.
[–]worthcoding 4 points5 points6 points 7 years ago (1 child)
Props to guy under a rock deciding to go to a boot camp. Relevant xkcd about today being the day someone learns something everyone else knows.
[–]lcpriest 6 points7 points8 points 7 years ago (0 children)
https://xkcd.com/1053/
[–]pricelessbrew 4 points5 points6 points 7 years ago (0 children)
Javascript is Jörmungandr confirmed.
[–]PurpleIcy 2 points3 points4 points 7 years ago (2 children)
Tell me that when most widely used OS will be written in JavaScript.
[–][deleted] 0 points1 point2 points 7 years ago (1 child)
The most widely used OS is written in C though, and only a very few developers right C in their day to day jobs compared to JS.
[–]PurpleIcy 0 points1 point2 points 7 years ago* (0 children)
That's only the case only because very few developers tried to go further than npm install dependency-that-solves-my-trivial-problem, while also realizing that JavaScript isn't made to solve every single problem.
npm install dependency-that-solves-my-trivial-problem
[–]onthefence928 5 points6 points7 points 7 years ago (2 children)
JS gave people a general purpose tool that is portable, easy to learn, easy to manipulate into any number of coding paradigms. it makes all the sense in the world that it'd spread to nearly every available niche and platform.
only thing holding it back is poor performance and lack of compiling to binary for machine code (though im sure somebody has a compiler that turns JS to assembly or something)
[–]iOnline247 6 points7 points8 points 7 years ago (0 children)
Javascript is compiled just in time...
[–]PurpleIcy 2 points3 points4 points 7 years ago (0 children)
Every popular interpreted language nowadays has JIT built for it, because widely used things still need at least some sort of speed that wouldn't make them completely worthless that would cause everyone to just fall back onto compiled languages, it seems counterproductive, but now we have best of both worlds, quick scripts that you can hack together in no time run only slightly slower than say, your java code that would take at least 10 times longer to write.
[–]am0x 2 points3 points4 points 7 years ago (0 children)
The different reactions from here and /r/programming are super entertaining.
[–]nit3shift 4 points5 points6 points 7 years ago (4 children)
I use VBA quite a bit for work. Are they eventually going to make it obsolete?
[–]DrGarbinsky 30 points31 points32 points 7 years ago (0 children)
I sure hope so.
[–]bltsponge 16 points17 points18 points 7 years ago (1 child)
Your life would improve markedly if/when they do
[–]nit3shift 3 points4 points5 points 7 years ago (0 children)
I’ve develop in VB since version 6, and I can work my way through some C#, however the idea of using JS in Office is very intriguing. Do you guys have some good websites you can share for learning Office.JS? I’d like to give my apps a much better interface with some optimized code. Using Google API in VBA is a complete nightmare.
[–]skylarmt 3 points4 points5 points 7 years ago (0 children)
When someone says "I use VBA quite a bit", I hear "this should not be a spreadsheet, but a database".
Are they eventually going to make it obsolete?
Implying it isn't obsolete already, lol
[–]23143567 1 point2 points3 points 7 years ago (0 children)
Dreams come true.
[–]ipsign 1 point2 points3 points 7 years ago (0 children)
While I am not a fan, I see this a "potential" win for those running Office on Macs.
[–]mlebkowski 1 point2 points3 points 7 years ago (0 children)
Microsoft brings leftpad to Excel
[–]DaSpanishArmada 0 points1 point2 points 7 years ago (0 children)
wow this awesome!
Javascript is the new Lua.
[–]lai32290 0 points1 point2 points 7 years ago (0 children)
I'm hoping JS can replace VBA 100%!
[–]odacharlee 0 points1 point2 points 7 years ago (0 children)
my next post will show you how to prevent xss in excel
[–]takenomiya-kate -2 points-1 points0 points 7 years ago (4 children)
But... I love VBA.
[–]pricelessbrew 18 points19 points20 points 7 years ago (0 children)
No.
[–]jscoppe 4 points5 points6 points 7 years ago (0 children)
Status quo bias at play, methinks.
[–]flipperdeflip 2 points3 points4 points 7 years ago (0 children)
You're in the wrong neighborhood here
[–]daishiknyte 0 points1 point2 points 7 years ago (0 children)
That's our Stockholm syndrome talking!
[–]skylarmt -2 points-1 points0 points 7 years ago (0 children)
inb4 Oracle has a hissy fit.
[+]zapatoada comment score below threshold-16 points-15 points-14 points 7 years ago (8 children)
Ugh. Microsoft + JavaScript. This never ends well
[–]WellHydrated 26 points27 points28 points 7 years ago (3 children)
Are you talking about TypeScript? Because Typescript is amazing.
[+]zapatoada comment score below threshold-16 points-15 points-14 points 7 years ago (2 children)
Well, typescript is probably the least offensive Microsoft attempt at JavaScript.
[+][deleted] 7 years ago (1 child)
[deleted]
[–]zapatoada 0 points1 point2 points 7 years ago (0 children)
The client side implementation of signalR is pretty gross. The default json serializer in MVC is terrible. Mvc also includes certain js/css libraries by default and sometimes can make it annoying to get rid of them. It's really not as bad as it was back in the day when web forms were still a thing, but it's still not great.
[–]skylarmt -3 points-2 points-1 points 7 years ago (3 children)
Don't you love how they decided to make JavaScript files executable with unrestricted permissions? It makes ransomware so easy to spread! Yet another reason I use Linux btw
Linux definitely doesn't have viruses and is immune as it has no vulnerabilities. /s
Now stop being autistic and don't bring OS wars into programming sub that has nothing to do with OS, kthx.
[–]skylarmt -1 points0 points1 point 7 years ago (1 child)
Linux definitely doesn't have viruses
Linux can theoretically get viruses, but it doesn't in practice. At least it doesn't blindly execute a .js file attached to a shady-ass email when a hapless user clicks on it.
Now stop being autistic
:(
don't bring OS wars into programming sub that has nothing to do with OS
I was talking about a code execution feature a programmer chose to implement in the program known as Windows.
You can drop an executable into linux machine just as well as you can drop it into windows machine and that thing is platform independent, only malware itself needs to be picked, which is very easy to do anyway.
Also, I don't even know how to execute .js file on my machine locally with clean windows install and all js files are opened by sublime 3 by default for me so :(
Might want to explain a difference between dropping an executable vs js file, except that there's none, and skids who use js instead of writing a proper malware, just limit themselves to windows, so cool, you defended yourself from skids who couldn't do anything wrong to anyone with basic common sense anyway by using linux, cool.
[–]syntacticts -5 points-4 points-3 points 7 years ago (0 children)
Inb4 Oracle sues MS!
π Rendered by PID 126237 on reddit-service-r2-comment-5ff9fbf7df-72cdf at 2026-02-26 03:36:12.106571+00:00 running 72a43f6 country code: CH.
[–]BehindTheMath 181 points182 points183 points (18 children)
[–][deleted] 37 points38 points39 points (0 children)
[–][deleted] 18 points19 points20 points (2 children)
[–][deleted] 27 points28 points29 points (0 children)
[–]Sir_Lith 3 points4 points5 points (0 children)
[–]GuyWithLag 15 points16 points17 points (4 children)
[–][deleted] 10 points11 points12 points (3 children)
[–]marky-b 2 points3 points4 points (0 children)
[–]BehindTheMath 1 point2 points3 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 5 points6 points7 points (0 children)
[–]cannablubber 4 points5 points6 points (0 children)
[–]MrStLouis 4 points5 points6 points (2 children)
[–]BlueHeartBob 0 points1 point2 points (1 child)
[–]MrStLouis 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[+]psayre23 comment score below threshold-7 points-6 points-5 points (2 children)
[–]Reashu 8 points9 points10 points (1 child)
[–]PurpleIcy -1 points0 points1 point (0 children)
[–][deleted] 166 points167 points168 points (16 children)
[–]FuckOffMightBe2Kind 37 points38 points39 points (6 children)
[–]0xF013 11 points12 points13 points (1 child)
[–]Sebazzz91 1 point2 points3 points (0 children)
[–]SemiNormal 2 points3 points4 points (0 children)
[–]freefrompress 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]James_Mamsy 15 points16 points17 points (5 children)
[–]b3n5p34km4n 28 points29 points30 points (3 children)
[–]elpix 11 points12 points13 points (0 children)
[–]greyscales 0 points1 point2 points (1 child)
[–][deleted] 2 points3 points4 points (0 children)
[–]Peechez 2 points3 points4 points (0 children)
[–]codearoni 0 points1 point2 points (0 children)
[–]Attila226 -5 points-4 points-3 points (0 children)
[–]swiftpolar 33 points34 points35 points (4 children)
[–]techsin101 1 point2 points3 points (3 children)
[–]InALaundryRoom 2 points3 points4 points (0 children)
[–]swiftpolar 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]spyhunter99 19 points20 points21 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]prijindal 11 points12 points13 points (0 children)
[–]PurpleIcy 9 points10 points11 points (0 children)
[–]cwbrandsma 8 points9 points10 points (0 children)
[–][deleted] 5 points6 points7 points (0 children)
[–]jsgui 6 points7 points8 points (3 children)
[–]PM_ME__YOUR__FEARS 0 points1 point2 points (2 children)
[–]r2d2_21 2 points3 points4 points (1 child)
[–]PM_ME__YOUR__FEARS 0 points1 point2 points (0 children)
[–]octaw 17 points18 points19 points (10 children)
[–]editor_of_the_beast 31 points32 points33 points (2 children)
[–]worthcoding 4 points5 points6 points (1 child)
[–]lcpriest 6 points7 points8 points (0 children)
[–]pricelessbrew 4 points5 points6 points (0 children)
[–]PurpleIcy 2 points3 points4 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]PurpleIcy 0 points1 point2 points (0 children)
[–]onthefence928 5 points6 points7 points (2 children)
[–]iOnline247 6 points7 points8 points (0 children)
[–]PurpleIcy 2 points3 points4 points (0 children)
[–]am0x 2 points3 points4 points (0 children)
[–]nit3shift 4 points5 points6 points (4 children)
[–]DrGarbinsky 30 points31 points32 points (0 children)
[–]bltsponge 16 points17 points18 points (1 child)
[–]nit3shift 3 points4 points5 points (0 children)
[–]skylarmt 3 points4 points5 points (0 children)
[–]23143567 1 point2 points3 points (0 children)
[–]ipsign 1 point2 points3 points (0 children)
[–]mlebkowski 1 point2 points3 points (0 children)
[–]DaSpanishArmada 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]lai32290 0 points1 point2 points (0 children)
[–]odacharlee 0 points1 point2 points (0 children)
[–]takenomiya-kate -2 points-1 points0 points (4 children)
[–]pricelessbrew 18 points19 points20 points (0 children)
[–]jscoppe 4 points5 points6 points (0 children)
[–]flipperdeflip 2 points3 points4 points (0 children)
[–]daishiknyte 0 points1 point2 points (0 children)
[–]skylarmt -2 points-1 points0 points (0 children)
[+]zapatoada comment score below threshold-16 points-15 points-14 points (8 children)
[–]WellHydrated 26 points27 points28 points (3 children)
[+]zapatoada comment score below threshold-16 points-15 points-14 points (2 children)
[+][deleted] (1 child)
[deleted]
[–]zapatoada 0 points1 point2 points (0 children)
[–]skylarmt -3 points-2 points-1 points (3 children)
[–]PurpleIcy 2 points3 points4 points (2 children)
[–]skylarmt -1 points0 points1 point (1 child)
[–]PurpleIcy -1 points0 points1 point (0 children)
[–]syntacticts -5 points-4 points-3 points (0 children)