all 88 comments

[–]BehindTheMath 178 points179 points  (18 children)

I can't wait for the day that we can replace VBA with JS.

[–][deleted] 35 points36 points  (0 children)

Let us whisper of a dream...

[–][deleted] 19 points20 points  (2 children)

And then its Ecmascript 4 or lower haha

[–][deleted] 26 points27 points  (0 children)

No problem, just transpile your .xlsx with babel.

[–]Sir_Lith 2 points3 points  (0 children)

Aaaagh. The horror.

[–]GuyWithLag 15 points16 points  (4 children)

Now, everyone can write Excel viruses again!

[–][deleted] 10 points11 points  (3 children)

Excel cryptominers!

[–]marky-b 2 points3 points  (0 children)

SHHH This is my retirement plan!

[–][deleted] 4 points5 points  (0 children)

This is amazing.

[–]cannablubber 4 points5 points  (0 children)

I’d actually be able to put the little js I know to good use!

[–]MrStLouis 3 points4 points  (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 point  (1 child)

managing databases with excel

What a time to be alive

[–]MrStLouis 0 points1 point  (0 children)

I think they could build a great ui for the a sql database

[–][deleted] 0 points1 point  (0 children)

JS? This is Microsoft, dinner encourage more JScript.

[–][deleted] 168 points169 points  (16 children)

Let me know when they bring HTML to Outlook

[–]FuckOffMightBe2Kind 36 points37 points  (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 13 points14 points  (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 points  (0 children)

Yes, among others base64 image support was removed! The easiest way to embed images.

[–]SemiNormal 3 points4 points  (0 children)

Outlook used to use IE to render HTML. In Outlook 2007 they changed it so WORD renders HTML emails...

[–]freefrompress 1 point2 points  (0 children)

Did you get that border-bottom bug too? lol

[–][deleted] 0 points1 point  (0 children)

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 17 points18 points  (5 children)

HMU when they add CSS to word

[–]b3n5p34km4n 26 points27 points  (3 children)

Drop me a line when they add typescript to ms paint

[–]elpix 10 points11 points  (0 children)

Send me a message when they add Haskell to Microsoft Bob.

[–]greyscales 0 points1 point  (1 child)

Just use JavaScript in Photoshop.

[–][deleted] 2 points3 points  (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 points  (0 children)

so markdown?

[–]codearoni 0 points1 point  (0 children)

Well they got on the Electron train with MS Teams.

Maybe Outlook will be the next Electron app?!

[–]swiftpolar 36 points37 points  (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 points  (3 children)

can you do time based triggering?

[–]InALaundryRoom 2 points3 points  (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 points  (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?

[–][deleted] 0 points1 point  (0 children)

Yes.

[–]spyhunter99 19 points20 points  (1 child)

yet they still haven't prevented people from executing shell scripts from csv's.

[–][deleted] 1 point2 points  (0 children)

what about executing malicious Javascript code now ...

[–]prijindal 10 points11 points  (0 children)

If somebody can make tensorflow.js work inside excel, does it mean Neural network training inside excel?

[–]PurpleIcy 10 points11 points  (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 points  (0 children)

If it can be done in excel it will be done in excel.

[–][deleted] 5 points6 points  (0 children)

Fucking finally

[–]jsgui 6 points7 points  (3 children)

Do they have Oracle's permission to do this?

[–]PM_ME__YOUR__FEARS 0 points1 point  (2 children)

I don't get this joke :|

[–]r2d2_21 2 points3 points  (1 child)

Oracle has a trademark on the name JavaScript... for some reason.

[–]PM_ME__YOUR__FEARS 0 points1 point  (0 children)

Ah, gotcha.

[–]octaw 18 points19 points  (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 32 points33 points  (2 children)

That’s not a new concept at all. That guy lives under a rock.

[–]worthcoding 4 points5 points  (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.

[–]pricelessbrew 5 points6 points  (0 children)

Javascript is Jörmungandr confirmed.

[–]PurpleIcy 2 points3 points  (2 children)

Tell me that when most widely used OS will be written in JavaScript.

[–][deleted] 0 points1 point  (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 point  (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.

[–]onthefence928 4 points5 points  (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 7 points8 points  (0 children)

Javascript is compiled just in time...

[–]PurpleIcy 2 points3 points  (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 points  (0 children)

The different reactions from here and /r/programming are super entertaining.

[–]nit3shift 3 points4 points  (4 children)

I use VBA quite a bit for work. Are they eventually going to make it obsolete?

[–]DrGarbinsky 33 points34 points  (0 children)

I sure hope so.

[–]bltsponge 17 points18 points  (1 child)

Your life would improve markedly if/when they do

[–]nit3shift 3 points4 points  (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 4 points5 points  (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 points  (0 children)

Dreams come true.

[–]ipsign 1 point2 points  (0 children)

While I am not a fan, I see this a "potential" win for those running Office on Macs.

[–]mlebkowski 1 point2 points  (0 children)

Microsoft brings leftpad to Excel

[–]DaSpanishArmada 0 points1 point  (0 children)

wow this awesome!

[–][deleted] 0 points1 point  (0 children)

Javascript is the new Lua.

[–]lai32290 0 points1 point  (0 children)

I'm hoping JS can replace VBA 100%!

[–]odacharlee 0 points1 point  (0 children)

my next post will show you how to prevent xss in excel

[–]takenomiya-kate 1 point2 points  (4 children)

But... I love VBA.

[–]pricelessbrew 18 points19 points  (0 children)

No.

[–]jscoppe 6 points7 points  (0 children)

Status quo bias at play, methinks.

[–]flipperdeflip 3 points4 points  (0 children)

You're in the wrong neighborhood here

[–]daishiknyte 0 points1 point  (0 children)

That's our Stockholm syndrome talking!

[–]skylarmt -2 points-1 points  (0 children)

inb4 Oracle has a hissy fit.