Slashdot Mirror


Microsoft Adds Support For JavaScript Functions in Excel (bleepingcomputer.com)

An anonymous reader shares a report: At the Build 2018 developer conference that's taking place these days in Seattle, USA, Microsoft announced support for custom JavaScript functions in Excel. What this means is that Excel users will be able to use JavaScript code to create a custom Excel formula that will appear in Excel's default formula database. Users will then be able to insert and call these formulas from within Excel spreadsheets, but have a JavaScript interpreter compute the spreadsheet data instead of Excel's native engine. "Office developers have been wanting to write JavaScript custom functions for many reasons," Microsoft says, "such as: (1) Calculate math operations, like whether a number is prime. (2) Bring information from the web, like a bank account balance. (3) Stream live data, like a stock price."

171 comments

  1. What could possibly go wrong? by khandom08 · · Score: 5, Funny

    ....

    1. Re:What could possibly go wrong? by bobstreo · · Score: 5, Insightful

      The worst?

        With the tight security model Microsoft (and intel) always holds, combined with the track record of Javascript, they sky is the limit!

    2. Re:What could possibly go wrong? by Gr8Apes · · Score: 2

      My personal take is there weren't enough holes in Excel, so time to add a new holey framework implemented, of course, by the best MS could outsource.

      --
      The cesspool just got a check and balance.
    3. Re:What could possibly go wrong? by spywhere · · Score: 1

      You beat me to it.

    4. Re:What could possibly go wrong? by NicknameUnavailable · · Score: 3, Funny

      While Dante's inferno depicts several circles of Hell with the Devil in the center/bottom circle stuck in the floor being tortured for eternity - that's really not even the limit, there's another less well-known circle of Hell smack in the center: the Devil's colon. That is where this will go. That said, it's better than VBA.

    5. Re:What could possibly go wrong? by Anonymous Coward · · Score: 1

      Sooooo, this is how SkyNet begins...

    6. Re:What could possibly go wrong? by Anonymous Coward · · Score: 0

      I can't believe creimer sucks at FortNite! Have you bought the "I Got 99 Problems" FortNite hoodie?

      - FatCashewsLoveMe

    7. Re:What could possibly go wrong? by Anonymous Coward · · Score: 0

      Microsoft might accidentally add back the ability to wipe out your partition table back to Excel.

    8. Re: What could possibly go wrong? by Anonymous Coward · · Score: 1

      Spectre will make this easy to scrape credentials and whatnot from memory.

      Goes like this

      1. Ransomware infected document makes its rounds in email.

      2. Files encrypted, and credentials uploaded to the Internet.

      3. Machines and Domain Controllers 0w3ned! Backups purged to prevent recovery.

      4. The compromised organization folds, people lose their job.

      5. Parents without income, children go hungry.

    9. Re: What could possibly go wrong? by Anonymous Coward · · Score: 0

      I just saw the headline and thought this exact same thing!

    10. Re:What could possibly go wrong? by Oswald+McWeany · · Score: 4, Insightful

      While Dante's inferno depicts several circles of Hell with the Devil in the center/bottom circle stuck in the floor being tortured for eternity - that's really not even the limit, there's another less well-known circle of Hell smack in the center: the Devil's colon. That is where this will go. That said, it's better than VBA.

      It's barely better than VBA. JavaScript is (in the 21st Century) the equivalent of VBA in the 90's. Quick, crude, and unstructured; it's the "rabble" of languages.

      --
      "That's the way to do it" - Punch
    11. Re: What could possibly go wrong? by Anonymous Coward · · Score: 0

      This is already doable with VBA. All this is going to do is make it so more shitty coders can bang out more shitty code faster.

    12. Re:What could possibly go wrong? by Anonymous Coward · · Score: 0

      Good, finding out how to reformat and partition a new drive in windows is a real pain.

    13. Re:What could possibly go wrong? by yuriklastalov · · Score: 1

      Not only that, but it's still going to have to use the existing Office App data model which is half of why VBA is such a clusterfuck in the first place. Which is to say a bunch of bizarre COM bindings and related retardation.

    14. Re:What could possibly go wrong? by q_e_t · · Score: 1

      If SkyNet is relying on JavaScript an attack on any one of five dozen servers it is downloading vital code from will defeat it.

    15. Re: What could possibly go wrong? by Gr8Apes · · Score: 1

      Spectre will make this easy to scrape credentials and whatnot from memory.

      I thought Daniel Craig took care of Spectre in a lackluster finale?

      --
      The cesspool just got a check and balance.
    16. Re:What could possibly go wrong? by Gr8Apes · · Score: 1

      If SkyNet is relying on JavaScript an attack on any one of five dozen servers it is downloading vital code from will defeat it.

      Nah, all that's needed is for one of those "developers" to get in snit and un-publish their version of the left-pad "library". SkyNet will promptly crash and refuse to run.

      --
      The cesspool just got a check and balance.
    17. Re:What could possibly go wrong? by Anonymous Coward · · Score: 0

      Boot Linux. Format a real file system. Done.

    18. Re:What could possibly go wrong? by Anonymous Coward · · Score: 0

      There is nothing wrong with the track record of Javascript.

      It's just a language like any other. Interpreted instead of compiled, but so what? So is Python, Perl, BASIC and many others.

      JS has a bad rep. because it gets integrated into things where it has access enough, and can be accessed enough, to be exploited. Starting with the web browser, where security is still an new idea, the designers and builders are still trying to understand.

      Do not knock JS, the language, for the environments it gets put into.

    19. Re:What could possibly go wrong? by Darinbob · · Score: 1

      You forget, marketing is in charge of development. For every security bug patched, Microsoft marketing introduces new and exciting security holes to improve the user experience.

    20. Re:What could possibly go wrong? by DriveDog · · Score: 1

      JavaScript is a hell of a lot better than VBA. There are no words for how bad is VBA.

    21. Re:What could possibly go wrong? by Anonymous Coward · · Score: 0

      Are there one or two spaces after the last dot?

    22. Re:What could possibly go wrong? by Anonymous Coward · · Score: 0

      Have you used VBA? It's not great, but it's not VBScript. It's more like old-school VB6. VBA has proper data types with static type checking. VBA has proper integral arithmetic. What VBA doesn't have is first-class functions. Like JavaScript, VBA isn't "explicit" by default, but an "Option Explicit" statement fixes that. But Office does have a fully functional IDE complete with an interactive debugger.

    23. Re:What could possibly go wrong? by aberglas · · Score: 2

      VBA is actually an excellent language, better than JavaScript. The main advantage is that it includes static typing which is a killer feature for larger programs. VBA has classes and properties and dynamic typing, only thing missing is closures which are rather esoteric. There are a few historical quirks in both languages.

      End If is actually better than {}s, because the compiler can detect errors -- the {} approach was introduced in Algol 60, replaced with End If (actually Fi) in Algol 68 (1968). Most languages also saw the light and avoided {}s. But then C inflicted {}s back on the world. But that is probably the least bad thing about C. (The worst is counting from 0.)

      But per my previous post, the big thing is that VBA runs in the server, JavaScript is client/server. Impossible for end users to use, which is the point of VBA.,

    24. Re:What could possibly go wrong? by Anonymous Coward · · Score: 0


      MODDOWN! ; creimer spam post again!

      creimer wants you to click on his youtube channel, then click on his stupid amazon affiliate link spam on Youtube. There is nothing of value on creimer youtube channel. Only creimer click-bot goes there.

      The tests we ran on Chris have shown that Chris has the intelligence of an ameba:
      https://en.wikipedia.org/wiki/...

      So, technically, he is able to conceive some kind of agenda but it will be silly or impossible to follow on a human scale.

      For example, Chris had an agenda to post anything he felt like on Slashdot which did not work well because it was based on his false beliefs that he had an infinite number of karma points as he wrote here several times.

      Several people here explained to Chris that karma maxed out at some level like 50 or so but Chris kept on insisting that his python script had confirmed that he had millions of karma points!

      Oh well, as I wrote before: "It isn't Chris' fault if he is the way he is. We do the best we can do with him and he is partially integrated into society. We try to cure his abnormal need for attention but he is kind of stubborn and won't listen to anybody."

      For the valuable /. users that might already have read the following, please note that there is an important update.

      IMPORTANT UPDATE:
      Special Education for the Santa Clara County Office of Education has invested money to buy Chris a new chair:
      http://www.keynamics.com/image...

      Information about Christopher Dale Reimer and autistic people:

      Autistic people have obsessions about things normal people don't care. For example, one of our autistic patient went haywire when he realized that there was a penny missing in his pocket change.

      To calm him down, one of our educator pretended to have found it on the floor and gave a penny to him.

      The autistic patient condition went even worse because he realized it wasn't the same penny!

      Chris has an obsession with budgeting every penny. He doesn't understand that most people do not budget to the penny and have a flexible amount they allow for miscellaneous items.

      I am Nancy Guerrero and I am Director of Special Education for the Santa Clara County Office of Education. We use Chris' (a.k.a. creimer,cdreimer) picture in our document because he is the hardest case we have ever had to handle:
      http://www.sccoe.org/depts/stu...

      Our artists were inspired by the low carb diet that Christopher follows scrupulously for the small lunch box and by the picture linked below for the rest. I am sure that you will notice the similarities such as the bump on the side of his chest and more:
      https://ibb.co/gVad65

      Please be easy on Christopher although, I am aware that some of our staff handling Chris post joke comments here and obvoiusly, the Santa Clara County Office of Education disapprove that behavior vehemently:
      http://ibb.co/mRVSaG

      But it isn't Chris' fault if he is the way he is. We do the best we can do with him and he is partially integrated into society. We try to cure his abnormal need for attention but he is kind of stubborn and won't listen to anybody.

      Thank You dear users,
      ---
      Nancy Guerrero
      Director
      Special Education
      Santa Clara County Office of Education

    25. Re:What could possibly go wrong? by Anonymous Coward · · Score: 0

      Someone saying, in 2018, that closures are "rather esoteric" is not qualified to discuss programming languages.

    26. Re:What could possibly go wrong? by KingBenny · · Score: 1

      i will sue you for stealing my copyrighted first thought hah hah indeed what could possibly go wrong with that, then again, nothing risked nothing gained i suppose i didnt know excell was still "a thing" given the fact that you can like get oodles of functionality for free and only biiiiiiiig corp would need something that can do all that, and they can write their own ... but well, 'as slow the world turns i guess

      --
      Free speech was meant to be free for all... how can anyone grow up in a nanny state ?
  2. I'm listening... by MightyYar · · Score: 3, Interesting

    This could be good, if they handle errors well. If they use the same default "fail silently" practice as they do with VBA functions, then it will be just as dangerous as those are.

    --
    W..w..W - Willy Waterloo washes Warren Wiggins who is washing Waldo Woo.
    1. Re:I'm listening... by ireallyhateslashdot · · Score: 1

      ....you expect Microsoft to do good? Of course errors will "fail silently". Garbage is as garbage does.

    2. Re:I'm listening... by slashdice · · Score: 1

      You expect javascript microwave jockeys* to do good?

      * because copy-pasta

      --
      Copyright (c) 1990 - 2014 Dice. All rights reserved. Use of this comment is subject to certain Terms and Conditions.
  3. Yes by cascadingstylesheet · · Score: 4, Funny

    The only thing better than VB in a spreadsheet is JavaScript. This is awesome.

    1. Re:Yes by jellomizer · · Score: 4, Insightful

      Which is at least an Open Standard Programming language. Which works on different OS's and hardware architecture. And designed to run relatively safely on your PC.
      VB is a hold over the Bad Old days of Microsoft. Where to get the feature you needed the entire ecosystem. Even the long time Office for the Mac, didn't didn't support VBscript (or at least not completely)

      The biggest issue I have, is people using Excel and Access as their programming environment, to try to bypass us egotistical developers and get a program running fast. Only to have it break a year down the line and get those egotistical developers digging in poorly written and designed system to make heads or tail on what went wrong.

      --
      If something is so important that you feel the need to post it on the internet... It probably isn't that important.
    2. Re:Yes by 110010001000 · · Score: 1

      How is JavaScript designed to run relatively safely on your PC?

    3. Re:Yes by Anonymous Coward · · Score: 5, Interesting

      There is a huge group of computer-using professionals that live and breathe Excel.

      They are not programmers. But they do have script-kiddie level of competence, which they use for making Excel formulas and macros.

      These people are in love with Excel, and when they submit requirements for actual software development, they adamantly insist that the software accept Excel documents as input, and that everything the program does be controlled by Excel.

      This creates terrible inefficiency, gobbles up memory, slows the system down, injects an endless stream of bugs and support issues, and lets utterly unqualified people inject code into complex systems with little-to-no insight as to what-all is going to break because of it. But if you try to convince them to allow you to implement some of that logic in a proper coding language, they flatly refuse.

      So, of all the programming languages that are common in the industry, which one is most likely to be one that this class of user has encountered, tampered with, and prefers?

      Of course javascript. One of the Internet's oldest mistakes, and one of the worlds most sloppy and dangerous tools, will be put into the hands of non-programmer power-users to use right in the center of complex mission-critical systems that directly impact things like....oh I dunno....large sums of money moving around.

      The world is run by the wrong people.

    4. Re:Yes by Opportunist · · Score: 4, Funny

      By turning it off.

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    5. Re:Yes by Opportunist · · Score: 0

      Fire these idiots and replace them with people who have a brain.

      I consider this fixed and close the ticket with your permission.

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    6. Re:Yes by Anonymous Coward · · Score: 0

      How is JavaScript designed to run relatively safely on your PC?

      It hasn't started a fire yet.

    7. Re:Yes by Anonymous Coward · · Score: 0

      The biggest issue I have, is people using Excel and Access as their programming environment, to try to bypass us egotistical developers and get a program running fast. Only to have it break a year down the line and get those egotistical developers digging in poorly written and designed system to make heads or tail on what went wrong.

      Honestly though, pretty much every one of those developers is going to say "we didn't write it, we have no idea what it is intended to do, and therefore it's not our problem."

      Trying to support some random bit of one off code is a waste of time.

      You wrote it, you fix it. But don't come to me to fix your code.

    8. Re:Yes by Anne+Thwacks · · Score: 2
      There is a huge group of computer-using professionals that live and breathe Excel.

      You have had too much of that white powder - those are not computer professionals - they are either zombies or aliens.

      --
      Sent from my ASR33 using ASCII
    9. Re:Yes by jellomizer · · Score: 1

      Being that JavaScript has been running on browsers for close to 20 years. While not 100% secure. It is designed to not to interact with your actual PC, just in the container it is designed to run it (the browser) we have been safe from a lot of the nonsense that Microsoft has exposed us to in the past, with VB Script and Active X controls.
      The vulnerabilities in Javascript have been quickly fixed and isn't a flaw in the language but in the interpreter. While the Microsoft languages, where designed in era where the idea of having a program hosted on the internet directly write to your files was a good idea. And they cannot easily roll back those features, as there was some guy who uses the features daily.

      --
      If something is so important that you feel the need to post it on the internet... It probably isn't that important.
    10. Re:Yes by 110010001000 · · Score: 1

      What does this have to do with a browser? This is Excel. I can write a JS program that will erase your hard drive if I am running it in a shell.

    11. Re: Yes by cyber-vandal · · Score: 1

      Feel free to post a link to the source

    12. Re:Yes by Anonymous Coward · · Score: 0

      The biggest issue I have, is people using Excel and Access as their programming environment, to try to bypass us egotistical developers and get a program running fast.

      Still way better than Sharepoint.

      Ran into some really cool user developed Access jobbers over the years. OLE linking especially opened up some amazing results for the amount of input effort and skill level of those doing the work.

      One of my pet peeves with current environment and "developers" is the amount of "code" still going to wire up common pedestrian bullshit that should all be defined in a UI or schema editor or something. Systems like access or oracle forms were way better in many ways than the repetitive bullshit churned out by most outsourced dev shops these days.

      Only to have it break a year down the line and get those egotistical developers digging in poorly written and designed system to make heads or tail on what went wrong.

      Or developers lacking required domain knowledge to make heads or tails of anything.

    13. Re:Yes by Anonymous Coward · · Score: 0

      Never ask permission to close the ticket. You will never empty the queue.

    14. Re: Yes by flink · · Score: 3, Insightful

      What does this have to do with a browser? This is Excel. I can write a JS program that will erase your hard drive if I am running it in a shell.

      Feel free to post a link to the source


      var fso = new ActiveXObject( "Scripting.FileSystemObject" );
      fso.deleteFolder( "C:\\", true );

    15. Re: Yes by Anonymous Coward · · Score: 0

      You don't belong here.

    16. Re: Yes by lgw · · Score: 1

      pwnt

      --
      Socialism: a lie told by totalitarians and believed by fools.
    17. Re:Yes by lgw · · Score: 1

      These people are in love with Excel, and when they submit requirements for actual software development, they adamantly insist that the software accept Excel documents as input, and that everything the program does be controlled by Excel.

      This creates terrible inefficiency, gobbles up memory, slows the system down, injects an endless stream of bugs and support issues, and lets utterly unqualified people inject code into complex systems with little-to-no insight as to what-all is going to break because of it. But if you try to convince them to allow you to implement some of that logic in a proper coding language, they flatly refuse.

      Lo, I was beset by such ills, and I went to the mountaintop. Upon the mountaintop was a burning bush, and in a booming voice it spoke:

      C S V

      So it is written. So let it be done.

      (Seriously, tell your Excel jockies the input format is CSV, or TSV, or whatever. As a bridge between Excel and real code, it's a gift from God. They can play to their hearts' content in Excel, but they have to give you plain data, and accept plain data from you.)

      --
      Socialism: a lie told by totalitarians and believed by fools.
    18. Re:Yes by Anonymous Coward · · Score: 0

      Why is this even a question?

      JS is just a language. Like Python or Perl or PHP or whatever. Or even BASH on Linux or PowerShell on Windows.

      JS, as a language, is as safe or unsafe as the use that is made of it. The environment it is used in.

      Please don't tell me that C/C++ are safer. History does not bear that out.

    19. Re:Yes by Darinbob · · Score: 1

      "Your document is taking too long to load. Do you wish to cancel running the scripts or continue to wait?"

    20. Re:Yes by Anonymous Coward · · Score: 0

      The implementation by Microsoft is guaranteed to NOT follow any JavaScript standard at all and will have a completely separate set of security problems that will take decades to be tracked down and never get fixed.

    21. Re:Yes by painandgreed · · Score: 1

      There is a huge group of computer-using professionals that live and breathe Excel.

      You have had too much of that white powder - those are not computer professionals - they are either zombies or aliens.

      Worse. They're MBAs.

    22. Re: Yes by cyber-vandal · · Score: 1

      So that isn't available in VBA already? What makes that more of a security hole in JS?

    23. Re: Yes by cyber-vandal · · Score: 1

      I've been here a lot longer than you now fuck off.

    24. Re:Yes by Anonymous Coward · · Score: 0

      There is a huge group of computer-using professionals that live and breathe Excel.

      You have had too much of that white powder - those are not computer professionals - they are either zombies or aliens.

      Worse. They're MBAs.

      Exactly, and I remember having one as a boss. He wanted everything in an excel spreadsheet. If he asked for anything done, he wanted the results in an excel spreadsheet.
      I even had to export a database from our system into a spreadsheet for him, even though I pleaded with him to just go to a link (which I sent him) and query whatever he wanted from the extremely simple search form.
      No, apparently he could only read things if they were in an excel spreadsheet, and now also outdated because the actual data is in the database where it belongs.

    25. Re: Yes by Anonymous Coward · · Score: 0

      You are salty cause you get pwned. No one cares how long you've been here.

    26. Re:Yes by Anonymous Coward · · Score: 0

      They're not in love with it, they're - comfortable with it. They understand it, or at least they think they do. It's how they do their jobs.

      If you require them to do without it, suddenly a huge part of their skillset becomes useless. How would you feel if, e.g. someone took your keyboard away and said from now on, you'll enter all data through a voice input? That's where they're at.

    27. Re:Yes by Opportunist · · Score: 1

      I didn't ask for permission. I assumed it, and if you happen to disagree, just drop me a note (that will curiously be eaten by the mail server).

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    28. Re:Yes by gravewax · · Score: 1

      I used to think the same way, but the reality is these are people IT has failed. They have a need and IT has repeatedly failed to deliver it to them over the years. Sure what they produce quality wise is absolute shit, but they produce it because that shit is better than the nothing you are delivering them. One of the constant thing I am fighting nowadays is the self entitled IT, they think IT is special and business must follow IT rather than understanding IT exists to provide the business with a service, this is especially prevalent in the public service.

    29. Re: Yes by flink · · Score: 1

      So that isn't available in VBA already? What makes that more of a security hole in JS?

      It's not a security hole in JS per se, and of course you can do exactly the same thing in VBA. But the statement was "This is Excel. I can write a JS program that will erase your hard drive if I am running it in a shell.", and you invited someone to post source backing that up, which I did.

      The point, and I think we agree on this, is that no language, be it VB, JS, perl, or python, is inherently dangerous. It's all about the context in which they are run and the APIs they have access to. JS in the browser is relatively "safe" with respect to the host OS because we've had years of refining the browser sandbox model and APIs. However, JS in the browser can be tricky from both a privacy and a server application security perspective, which is why we have to guard against things like what information leaks out of browser APIs and cross-site request filtering.

      I think it is likely that JS will just be have all the same COM bindings that JScript in WSH has available to it, in which case it will be just as dangerous to run untrusted JS macro code in Excel as it would be to run one written in VBA. If I am wrong and this feature will just implement JS as a limited functional language with very proscribed access to Excel numeric and cell data functions, then it could be quite safe.

    30. Re:Yes by Goglu · · Score: 1

      ... and then comes formatting issues: commas are use as decimal separators, dates are formatted in different was, depending on the desktop where the CSV or tab-separated file is generated, text values that look like numbers (item 00315) are stripped of leading zeroes.

      Excel is a terrible data exchange source. That's it.

    31. Re:Yes by lgw · · Score: 1

      Everything you just described is fundamental to receiving data from non-programmers. Excel isn't causing that problem, it's users are - and they'd be causing it regardless. But, hey, normalize your inputs and get on with life.

      --
      Socialism: a lie told by totalitarians and believed by fools.
    32. Re: Yes by cyber-vandal · · Score: 1

      Yeah I should think before I post really :)

    33. Re: Yes by cyber-vandal · · Score: 1

      I'm salty because some bellend told me I don't belong here.

  4. This will be used for mining by xack · · Score: 5, Insightful

    One of the first “apps” for this will be yet another cryptocurrency miner that will be spread around an organization’s spreadsheets.

    1. Re:This will be used for mining by Anonymous Coward · · Score: 0

      perfect idea! I'll get porting to Excel straight away 3

  5. Oops by Anonymous Coward · · Score: 0

    After about 100 exploits are found in the first week or two this bug errr "feature" hopefully will be dropped.

  6. Please, $DEITY, no by Anonymous Coward · · Score: 0

    Please... no.

    As someone who found and dealt with a ransomware attack using JS as a Trojan dropper, this is the last thing needed. We already went through this shitshow with VBS macros.

    1. Re:Please, $DEITY, no by mark-t · · Score: 1

      It's my understanding that VB macros do not require source code to be distributed if it has already been compiled into byte code.

      Presumably, one can vet the source code themselves if they are wary of third party code.

      Theoretically, at least, javascript has a potential of being safer than VB in this regard.

    2. Re:Please, $DEITY, no by NicknameUnavailable · · Score: 1

      The issue is Microsoft, not the language. VBA macros still exist, it's the managed environment running them that becomes the issue without regard to the language.

    3. Re:Please, $DEITY, no by Anonymous Coward · · Score: 0

      Unless they are getting rid of VB macros, then this has no bearing on the real problem.

      By adding another way to exploit Excel, we are increasing the applications surface area accessible to attacks. Even if its only a bit weak, it has still added another attack vector.

      Then on top of it we all know just how awesomely secure JS is.

    4. Re:Please, $DEITY, no by mark-t · · Score: 1

      I didn't suggest that this would make the system as a whole any safer, I said that JS, in this respect, is less likely to be successfully used as an attack vector than VB because the end user can vet javascript source code themselves if they are so inclined, and possibly spot any dangerous code, while VB has the option of being distributed as pre-compiled byte code.

      But of course, if they are keeping VB (and I expect that they are), then obviously the system isn't any safer at all, because attacks can still be obscured from that angle anyways,

    5. Re:Please, $DEITY, no by Anonymous Coward · · Score: 0

      " likely to be successfully used as an attack "
      LOL

  7. JavaScript/Excel Type handling & Secutiry? by mykepredko · · Score: 1

    Personally, I think this capability could be extremely useful and should be pursued.

    But, my first thought was to type handling - both environments largely handle data typing automagically and I would like to see how incompatible types are recognized and handled. I would worry about JavaScript's tendency to ignore failures and carry on as best it can without notifying the user as being a significant concern. For this reason, I would consider Python to be a better choice.

    I wish in the TFA, when they reference getting web information using JavaScript, they didn't jump to getting a "bank account balance". That should strike terror in just about everyone - I'd be a bit more amenable if they used an example like getting the temperature in Tampa. It's not like Microsoft or JavaScript have been shown to be paragons of protecting user information and security.

    1. Re:JavaScript/Excel Type handling & Secutiry? by AvitarX · · Score: 1

      I'm pretty excited because it seems like it will make it quite easy to use regex to filter.

      Currently, I have to either use google sheets, or contort something that abuses functions to get some filters done.

      --
      Wow, sent an e-mail as suggested when clicking on "use classic" banner, and got a fast response that addressed my msg
    2. Re:JavaScript/Excel Type handling & Secutiry? by MightyYar · · Score: 1

      Regex is already available in Excel through a reference to "Microsoft VBScript Regular Expressions 5.5".

      --
      W..w..W - Willy Waterloo washes Warren Wiggins who is washing Waldo Woo.
  8. This is very very welcome...but... by bogaboga · · Score: 3, Informative

    Folks, I will have to say that this development is very welcome though what really saddens me is this: -

    There's no Open Source Excel alternative that comes even close to what Excel can do.

    To make matters worse, there's no [serious] effort to create anything capable.

    1. Re:This is very very welcome...but... by jandrese · · Score: 4, Informative

      Which Excel features are missing from Openoffice Calc that are a showstopper for you?

      --

      I read the internet for the articles.
    2. Re: This is very very welcome...but... by Anonymous Coward · · Score: 0

      Bloomberg and Reuters, which makes OO Calc totally irrelevant in business.

    3. Re:This is very very welcome...but... by Anonymous Coward · · Score: 2, Insightful

      Running existing Excel macros, Power Pivot, lots of chart types, external data sources, multithreading.

    4. Re: This is very very welcome...but... by MMC+Monster · · Score: 1

      You want to see twitter feeds from Bloomberg and Reuters in your spreadsheet?

      I'm pretty sure that's possible in LibreOffice. I've seen similar screen scraping macros. Of course, it's still probably the wrong tool for the job. :-(

      --
      Help! I'm a slashdot refugee.
    5. Re: This is very very welcome...but... by Anonymous Coward · · Score: 0

      Bloomberg and Reuters are Excel features? I'm confused.

    6. Re:This is very very welcome...but... by Anonymous Coward · · Score: 0

      Folks, I will have to say that this development is very welcome though what really saddens me is this: -

      There's no Open Source Excel alternative that comes even close to what Excel can do.

      To make matters worse, there's no [serious] effort to create anything capable.

      For that matter which useful Microsoft Excel features are missing from sc-im?

    7. Re:This is very very welcome...but... by guruevi · · Score: 3, Insightful

      I think you shouldn't be using Excel at that point anymore. If your "data scientist" is using Excel, fire him, immediately.

      --
      Custom electronics and digital signage for your business: www.evcircuits.com
    8. Re:This is very very welcome...but... by guruevi · · Score: 4, Informative

      You must never have heard of SQL, Python, R, ...

      Try opening an Excel sheet with 15,000 lines and applying a filter... (I just got one of those in my Inbox - 2MB Excel sheet, takes 2 minutes to re-render any changes on an 8-core i7 (Excel: using 16 threads... 4%)

      --
      Custom electronics and digital signage for your business: www.evcircuits.com
    9. Re: This is very very welcome...but... by cyber-vandal · · Score: 2

      What should you be using instead?

    10. Re:This is very very welcome...but... by 140Mandak262Jamuna · · Score: 1
      Have you seen the google sheets created by crowd sourced data?

      There is one where people who booked Tesla Model 3 are entering data to predict info Tesla is not revealing, VIN, production rates, etc etc. 5000 people collaborative editing. Pictures, charts, rolling 21 day averages, historic charts predicting wait times for each color + wheel combination, and what not..

      There is one used by Indian/Chinese H1B applicants tracking the reports of who got what when. I have not seen it, but it supposed to be over 10000 people collaboratively editing a shared spreadsheet.

      If you want to accept a tool and use to its maximum potential there is a lot you can do without Excel.

      But if you want to cling to your Excel skills and macros, as though they were wonderful gems, masterpieces of art that can never be recreated, and demand some free tool to mimic it 100% to *your* satisfaction, tough luck, buddy. You enjoy your Excel and you pay through your nose for it.

      --
      sed -e 's/Chuck Norris/Rajnikant/g' joke > fact
    11. Re: This is very very welcome...but... by Anonymous Coward · · Score: 1

      R, Python, Matlab, Mathematica, IGOR, IDL.......

    12. Re: This is very very welcome...but... by Anonymous Coward · · Score: 0

      Again? Seriously? You do not belong here.

    13. Re: This is very very welcome...but... by Anonymous Coward · · Score: 0

      Excel is a bridge between data scientists/controllers and people who know nothing about data science.

      You cannot share your R or Python files with a sales manager, who never attended college, but worked his way up to a salary which is tenfold of yours.
      If you do, fired immediately.

    14. Re:This is very very welcome...but... by slack_justyb · · Score: 1

      If your "data scientist" is using Excel, fire him, immediately.

      I think that's a bit harsh. I've got a friend that, that is their job and it wasn't until a lot of crying and begging did they approve Python and R for install on the laptops. You've got to remember that sometimes you just have to work with the tools that upper management will allow.

      I'm not suggesting that, that justifies anything, just that sometimes it's hard to get non-data folks to agree to thing, even free things.

    15. Re:This is very very welcome...but... by Christopher+Fritz · · Score: 1

      The main one for me is tables. In LibreOffice Calc, I can give a range a name, and I can add an AutoFilter, and I can create my own total row, and I'm sure I can put together some kind of nice style for the table of data, with alternating row colors. In Excel, it's a one-click action. From there, I can also easily add a formula to a cell, and have to copy down to all rows. Each row has its own name, making formulas referring to cells within the table easier to read.

      There have been other Excel niceties missing from OpenOffice/LibreOffice Calc that have slowly appeared over time, so I hesitate to point out anything else as it may have been resolved already. Tables are simply the one that stick out the most.

      I don't use spreadsheets very often at home, but when I do, I typically find pain points in things that are quick and effortless do to in Excel. (I think I'm on Excel...2016? at work.) For my limited home use, I wouldn't call the lack of tables a showstopper, but it would be if I tried using something other than Excel at work.

    16. Re:This is very very welcome...but... by gravewax · · Score: 1

      the point of many of those features is you don't need a data scientist to do it. The fact you do with CALC is a huge negative.

    17. Re:This is very very welcome...but... by Anonymous Coward · · Score: 0

      So what you are saying is those small teams should hire a data scientist at 100k plus a year instead of spending a few hundred dollars to meet their requirements. yeah that makes perfect sense!

    18. Re:This is very very welcome...but... by Anonymous Coward · · Score: 0

      if you are happy with you useless comparisons (excel has had multi use collaboration before calc even existed. fine. Most of us would rather pay a few dollars to save the thousands of dollars in hours lost because of the poor feature set of tools like CALC, yeah it is fine for a simple spreadsheet for people to share, no one denies, it is when you actually try to do something more advanced with charting and pivot table type functionality where CALC becomes a complete bucket of shit.

    19. Re:This is very very welcome...but... by Anonymous Coward · · Score: 1

      could you find any more a niche example to try and make sheets look good? We transitioned to google for our office suite 3 years ago, we are an organisation of around 500 staff. We are in the process now of transitioning to OFfice 365. Sheets is one of the primary reasons we are doing this, the lack of features just isn't worth the pain, sure you gain slightly better collaboration which in those .00001% of cases is great, but catering to such a niche scenario while ignoring the 99.9999% of cases where Office 365/Excel is better is just moronic.

    20. Re:This is very very welcome...but... by Anonymous Coward · · Score: 0

      Nonsense. These are exactly appropriate uses for Excel, they're what Excel does best.

      The problem (for me) comes when people try to use it for long-term data storage, rather than analysis and presentation.

    21. Re:This is very very welcome...but... by guruevi · · Score: 1

      There are huge problems with using Excel for data analysis. Excel is an extremely bad tool with very bad precision, it can't even handle simple subtractions.

      Set A1-A3 with a number that differs by the same value
      A1:=21.123, A2:=22.246, A3:=23.369

      B1:=A1-A2 = 1.123, B2:=A2-A3 = 1.123

      Calculate B1-B2. You expect 0 yet you don't get 0, you get a value. And this isn't a new 'bug' this has been around since at least Excel 97.

      There are various other problems that frequently crop up around rounding and formulas using the results of other formulas or sometimes certain cells have the wrong type set (eg. text instead of integer) causing it not to barf up an error but to simply treat the cell as the value 0. Also, anything to do with dates is just wrong with Excel because it has two types of dates, one counting from 1900, one counting from 1904... because.

      --
      Custom electronics and digital signage for your business: www.evcircuits.com
    22. Re:This is very very welcome...but... by guruevi · · Score: 1

      Depends on what you need to do, you need the right people for the job. If you need a programmer, you need a programmer, if you need an accountant or a lawyer, you don't just hire the janitor that used to work at a law firm in the hopes that he might have picked up some knowledge over time. Yeah, it makes perfect sense that if you're handling massive volumes of data, you have a data analyst that knows their stuff. Excel can barely even handle small bookkeeping without running into rounding errors and other weirdness.

      --
      Custom electronics and digital signage for your business: www.evcircuits.com
    23. Re:This is very very welcome...but... by Anonymous Coward · · Score: 0

      Which Excel features are missing from Openoffice Calc that are a showstopper for you?

      Pivot Table

    24. Re:This is very very welcome...but... by Anonymous Coward · · Score: 0

      who the fuck is talking about bookkeeping or massive amounts of data. Things like CALC or sheets don't even do basic graphs and pivot tables well for exec presentations. these are core functions that millions of people use every day. The idea you need a data scientist (which you would for the other products) is insane.

    25. Re:This is very very welcome...but... by guruevi · · Score: 1

      They do pivot tables and basic graphs, I don't think you know what you're talking about. But "just graphs" is not what we're talking about, the initial GP talked about power pivots, lots of charts, external data sources, macros etc. that is where Excel starts tripping up and many a business have made massive mistakes relying on Excel for those.

      --
      Custom electronics and digital signage for your business: www.evcircuits.com
    26. Re:This is very very welcome...but... by Anonymous Coward · · Score: 0

      you left out part of the first sentence "They do basic graphs and pivot tables REALLY badly". power pivots, lots of charts and external sources and macros is still a fucking awful reason to justify a data scientist. It all depends on what you are doing, 99% of people a well served by just using Excel.

    27. Re:This is very very welcome...but... by jandrese · · Score: 1

      I take it OpenOffice Data Pivots are insufficient?

      --

      I read the internet for the articles.
    28. Re:This is very very welcome...but... by jandrese · · Score: 1

      Excel macros are a bit of a minefield, but you can try enabling them in OpenOffice if you are feeling brave.

      --

      I read the internet for the articles.
  9. No, not JavaScript! by null+etc. · · Score: 4, Interesting

    Good God, of all languages, why JavaScript? JavaScript is a terrible programming language! And its floating point math is bonkers, have you ever tried doing 0.1 * 0.2 in JavaScript, the answer is 0.020000000000000004! Can you imagine how main spreadsheet errors this will cause?

    And JavaScript doesn't even have type safety! If Microsoft were smart, they would use a compiled programming language, like C, that you'd have to compile using a command-line compiler with a GPG-Key that you could inspect to avoid government MITM attacks! Now the government can get your tax spreadsheet information!

    And, JavaScript is terrible because a lot of popular JavaScript frameworks have their own package managers! Can you imagine developers BLINDLY TRUSTING whatever package and whatever dependencies it has? Every developer should be forced to only use the OS package manager to install JavaScript libraries!

    And, JavaScript is terrible because hundreds of programmers release hundreds of new packages every day, and they grow old and stale and now the JavaScript package ecosystem is older and staler and more crowded than the iOS app store ecosystem!

    And, JavaScript is terrible because anyone can just pick it up and start playing with it, and they can write a web server in 15 minutes without even knowing about tail recursion or Monte Carlo cyclomatic complexity reduction! Script kiddies will start taking our jobs, and they don't even have to know how to covert an AST optimization into a stack heap implementation!

    I hope that Microsoft realizes the error of their ways, and instead implement something like LISP as the programming language.

    1. Re:No, not JavaScript! by Anonymous Coward · · Score: 0

      I wish I had mod points.

    2. Re:No, not JavaScript! by mark-t · · Score: 1

      To be fair, javascript is no more unsafe than lisp is. What makes javascript unsafe is any vulnerability in auxiliary frameworks that are exposed to script writiers, none of which are part of the actual core language or standard frameork library.

    3. Re:No, not JavaScript! by Dan+East · · Score: 1

      I'll sell you some. I heard Slashdot Mod Points are going for $3 a point.

      --
      Better known as 318230.
    4. Re:No, not JavaScript! by Anonymous Coward · · Score: 0

      Good God, of all languages, why JavaScript? JavaScript is a terrible programming language! [...and all the rest...]

      It's what the banking industry calls a "good cultural fit".

      I hope that Microsoft realizes the error of their ways, and instead implement something like LISP as the programming language.

      I'm waiting on you to implement all of excel and more besides in this LISP language of yours. If the reports on LISP's greatness aren't entirely false it shouldn't take you more than five minutes.

    5. Re:No, not JavaScript! by Anne+Thwacks · · Score: 2
      To be fair, javascript is no more unsafe than a cornered rat with rabies.

      FTFY

      --
      Sent from my ASR33 using ASCII
    6. Re:No, not JavaScript! by mark-t · · Score: 2

      Javascript, by itself, is about on par with safety as any other scripting language such as scheme or Lua. Any lack of safety lies entirely in what underlying operating system frameworks are exposed to the api of the script language by the language embedder. By default, there is nothing that stands out to my knowledge in the javascript core library that would be considered unsafe.

      That said, I won't argue that there are a few characteristics of javascript that might make it undesirable as a programming language or even prone to certain types of programmer errors, especially with newcomers, but they do not make the language particularly unsafe to use.

    7. Re:No, not JavaScript! by Anonymous Coward · · Score: 0

      LISP: Lost In Stupid Parentheses.

    8. Re:No, not JavaScript! by DavidHumus · · Score: 1
      > ...0.1 * 0.2 in JavaScript, the answer is 0.020000000000000004!

      That's called floating point arithmetic. It has nothing to do with the language.

    9. Re:No, not JavaScript! by jaa101 · · Score: 4, Informative

      have you ever tried doing 0.1 * 0.2 in JavaScript, the answer is 0.020000000000000004! Can you imagine how main spreadsheet errors this will cause?

      You appear to be ignorant of the way floating point numbers work. This is not a feature of JavaScript, but of the CPU in your computer. Try entering "=0.1*0.2" in an Excel cell and then turn up the format to 20 digits of precision. I'm not saying that JavaScript is good, but using this as your first example of how bad it is doesn't help your credibility.

    10. Re:No, not JavaScript! by Anonymous Coward · · Score: 0

      Why Javascript? Why not implement the dialect of Basic in LibreOffice calc? Why re-invent the wheel? ;^)

    11. Re:No, not JavaScript! by munch117 · · Score: 1

      have you ever tried doing 0.1 * 0.2 in JavaScript, the answer is 0.020000000000000004

      You mean just like in Excel?

      JS is an excellent match for JS. Floating-point math? Check. Playing fast and loose with strings and numbers? Check. Massive additional attack surface on something that would often have been better served with simple static data? Check.

    12. Re:No, not JavaScript! by munch117 · · Score: 1

      "JS is an excellent match for Excel" is of course what I meant.

    13. Re:No, not JavaScript! by viperidaenz · · Score: 1

      You've listed nothing relevant at all and also demonstrated that you don't know much about Excel.

      Excel uses floating point too, just like JavaScript. The same basic type of floating point too, IEEE 754
      https://support.microsoft.com/...

      Excel doesn't have type safety in its cells either. Or in its current VBA language.

      Microsoft isn't embedding a package manager in Excel

      Again, Microsoft isn't embedding a package manager in Excel.

      Excel used VBA because it's easy to pick up and use. You've listed a pro, not a con.

    14. Re:No, not JavaScript! by viperidaenz · · Score: 1

      I wish I hadn't commented here so I could mod the parent post down.
      null etc. doesn't even realise Excel ha always used floating point arithmetic internally, so it's a benefit that JavaScript also uses IEEE 754 floating point.

    15. Re:No, not JavaScript! by Anonymous Coward · · Score: 0

      Emacs Lisp.

    16. Re:No, not JavaScript! by Anonymous Coward · · Score: 0

      Excel doesn't seem to be using floating point unless it absolutely needs to. "=0.1*0.2" will display "0.02000..." with as many zeroes as you want. I'm guessing they have a fraction or ratio data type for most of these cases. However, there are limits to how the numbers are displayed. "=1/3" will only give you 15 threes before it starts zero-padding. The same goes for "=10/3" and "=100000/3". However, adding these fractions together gives the correct answer - no nines or "..0004".

    17. Re:No, not JavaScript! by DavidHumus · · Score: 1

      ... doing 0.1 * 0.2 in JavaScript, the answer is 0.020000000000000004!

      That's what happens in floating point arithmetic regardless of the language. Try it in Python.

      Moron.

    18. Re:No, not JavaScript! by Anonymous Coward · · Score: 0

      And, JavaScript is terrible because anyone can just pick it up and start playing with it, and they can write a web server in 15 minutes without even knowing about tail recursion or Monte Carlo cyclomatic complexity reduction! Script kiddies will start taking our jobs, and they don't even have to know how to covert an AST optimization into a stack heap implementation!

      I hope that Microsoft realizes the error of their ways, and instead implement something like LISP as the programming language.

      You say it like there is a hidden agenda in what they're up to.

    19. Re:No, not JavaScript! by Anonymous Coward · · Score: 0

      I just did that in Excel to 127 decimal places, and it's 100% accurate. Not a bogus digit in sight.

      So what are you talking about?

  10. Keeping up with the Joneses by ahziem · · Score: 2

    For at least ten years, StarOffice, OpenOffice.org, LibreOffice, and derivatives supported JavaScript and Python in the Calc spreadsheet.

  11. Speed by Thelasko · · Score: 1

    That's all fine. But all I really want is for it to be faster than molasses in January. It take forever to load, and forever to save. If I want bunch of fancy features, I would switch to a more powerful program.

    --
    One of our competitors trademarked the term "hypothesis". From now on, we will call them "boneheaded ideas".
  12. Microsoft Adds Support For Malware Functions in by Anonymous Coward · · Score: 0

    Windows

  13. More? by Anonymous Coward · · Score: 0

    So now we have even more to worry about?

  14. Stop Press :] by najajomo · · Score: 1

    "Microsoft Adds Support For JavaScript Functions in Excel"

  15. Please shoot me by Opportunist · · Score: 3, Insightful

    But could you please do it before the first batch of Excel-based javascript-empowered cryptominer and other malware arrives in our company?

    Who the FUCK thought it would be a great idea to marry the one file format every idiot opens when it arrives in his mailbox because that's what he does all day with the one scripting language that can the easiest be obfuscated to escape the current antivirus signatures?

    So far I was willing to say that MS simply can't fight malware, but this makes me wonder whether they get a cut of the profits.

    --
    We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    1. Re:Please shoot me by Anonymous Coward · · Score: 0

      It's very likely the same JS engine they use in Edge... so its as safe or unsafe as your network policy and idiot users are today.

    2. Re:Please shoot me by dysmal · · Score: 1

      It's very likely the same JS engine they use in Edge... so its as safe or unsafe as your network policy and idiot users are today.

      A lot of organizations are fucked then.

    3. Re:Please shoot me by Anonymous Coward · · Score: 0

      Yeah, given that most people are blindly running JS on their systems already, it probably isn't any worse than what we have already.

  16. When will they learn? by zarmanto · · Score: 4, Interesting

    Microsoft has added various scripting languages to their Office products over the years... and each and every one has been abused by bad actors at some point, forcing Microsoft to cripple and/or remove the capability. What on earth could possibly make Microsoft think that adding JavaScript to Office documents will be any different? Particularly since it has already been abused in a myriad of ways within web browsers??

    As the old saying goes, "The definition of insanity is doing the same thing over and over again, and expecting different results."

    1. Re:When will they learn? by khandom08 · · Score: 1

      As the old saying goes, "The definition of insanity is doing the same thing over and over again, and expecting different results."

      I'll just leave this here https://www.psychologytoday.co...

    2. Re:When will they learn? by zarmanto · · Score: 1

      That article serves no purpose in this context, unless for some reason you're attempting to deflect from or minimize the detrimental impacts of Microsoft's poor decision making in this situation. Certainly you could be pedantic and argue that Microsoft isn't technically exhibiting insanity so much as they are exhibiting "perseveration" behaviors... but that distinction offers no particular benefit to the discussion, and only serves to confuse people.

      Sometimes "cute sayings" are quite adequately descriptive enough to illustrate the point.

    3. Re:When will they learn? by Anonymous Coward · · Score: 0

      Wow. I've never seen another article so skillfully miss the point.

    4. Re:When will they learn? by Anonymous Coward · · Score: 0

      They're not expecting different results. They're expecting it to drive sales and customer retention. Given that MSOffice dominates, you can't say the market hasn't spoken. That's all that matters.

    5. Re:When will they learn? by khandom08 · · Score: 1

      You know I actually agreed with what you were saying. The only qualm I had was with your use of that false definition. I would have probably said something along the lines of "Microsoft's insistence on doing the same things over and over again, and expecting different results clearly demonstrates their lack of vision" or similar.

    6. Re:When will they learn? by grep+-v+'.*'+* · · Score: 1

      As the old saying goes, "The definition of insanity is doing the same thing over and over again, and expecting different results."

      This is Microsoft WINDOWS we're talking about. Don't you re-install it every 6 months too, saying "This time is the very LAST time."

      --
      If the universe is someone's simulation -- does that mean the stars are just stuck pixels?
    7. Re: When will they learn? by zarmanto · · Score: 1

      I do see your point â" but Iâ(TM)m a Mac user, so nope.

    8. Re: When will they learn? by zarmanto · · Score: 1

      (Why does Slashdot always do that to the extended characterset?)

  17. It was if a million IT professionals screamed by Anonymous Coward · · Score: 1

    all at once.

  18. VBA not "good" enough? by sdinfoserv · · Score: 1

    Does this mean VBA gets yanked? Is the roadmap to replace macros with Java? GAWD!
    I am so tired of other java systems failing after an automated java update, now the CFO's spreadsheet fails... spectacular idea.

    1. Re:VBA not "good" enough? by Anonymous Coward · · Score: 0

      Java != JavaScript

    2. Re:VBA not "good" enough? by omnichad · · Score: 1

      Java != JavaScript. At all.

    3. Re:VBA not "good" enough? by Anonymous Coward · · Score: 0

      Is this a troll, or do you legitimately not know the difference between Java and JavaScript?

    4. Re:VBA not "good" enough? by guruevi · · Score: 1

      Apparently nobody does. It's not JavaScript, it's ECMAScript.

      --
      Custom electronics and digital signage for your business: www.evcircuits.com
    5. Re:VBA not "good" enough? by viperidaenz · · Score: 1

      And you've just demonstrated your inability to function in IT, not knowing that JavaScript and Java are completely different.

  19. Missed the important reason by mrbester · · Score: 1

    "Office developers have been wanting to write JavaScript custom functions for many reasons"

    Mainly because they're assholes who will throw IT under the bus the second a routine they blithely copy-paste from some random site steals sensitive data.

    --
    "Wait. Something's happening. It's opening up! My God, it's full of apricots!"
  20. Ummm...so? by Anonymous Coward · · Score: 0

    I can already manipulate any of Excel's data with C++, C#, VB.NET, VBScript, yes, JavaScript, and any other language that can handle scriptable COM objects. I wouldn't necessarily call this a game changer.

    1. Re:Ummm...so? by Oswald+McWeany · · Score: 2

      I can already manipulate any of Excel's data with C++, C#, VB.NET, VBScript, yes, JavaScript, and any other language that can handle scriptable COM objects. I wouldn't necessarily call this a game changer.

      It's not a game changer to a programmer. It's potentially a game changer to some desk jockey in a low tech job that can copy and paste formulas from the internet and can follow it well enough to make a few simple changes.

      Although... they have VBA for that already.

      --
      "That's the way to do it" - Punch
  21. Agreed by Anonymous Coward · · Score: 0

    There's no Open Source Excel alternative that comes even close to what Excel can do.

    That's absolutely right. 99% of what excel can do is nowhere CLOSE to what excel can do.

  22. Vulnerabilities? by ilsaloving · · Score: 1

    Cause they didn't have enough gaping wide vulnerabilities with VBA?

    Here's hoping they carried over all the lessons learned.

  23. Thank you! by darkain · · Score: 1

    I'm in an organization that INSISTS on using Microsoft Excel as an administrative end for an entire ecommerce platform. They want to use it for all of their inventory management. The last major iteration, I finally said "FUCK THIS SHIT", and wrote a quick VBA script that simply copied the current sheet to a new document, saved as XLSX (for those unaware, this format is just a small collection of XML files ZIPed up, with a custom file extension), and then the VBA script uploads this new single-sheet document to an internal web application. Now instead of having to deploy the fuckall bullshit VBA scripts across the entire organization every time a new feature or bug fix is needed, the entire codebase is handled on a centralized server. Hopefully with Microsoft's current Azure focus, they can do something like this close to natively with their new JavaScript implementation. I'm not a fan of MS Office at all, in fact, I'm absolutely sick and tired of having to support it... but if they can at least make something easier, I'm all for it.

  24. Wouldn't it have been easier by Anonymous Coward · · Score: 0

    To just write some proper documentation for VBA?

  25. Users... writing code? Are you retarded? by Anonymous Coward · · Score: 0

    You genuinely expect users to write proper javascript?

    Like checking if a number is prime or not? Because that's easy without a lookup table or an advanced algorithm.... Surely that's going to lead to to fast execution and less mathematical errors. Surely it' easier to just add an ISPRIME function?

    Bring information from the web, like a bank account balance.... Yes the average user is certainly well versed in security and data normalization... nothing could go wrong here. Can't wait to see how many passwords get hardcoded in excel files.

    Can't wait till users expect their IT departments to setup and maintain fragile unmaintainable PoC features that random people post around the internet.

    Fuck you Microsoft... you just made my job worse.

  26. Interesting by Anonymous Coward · · Score: 0

    I get why they want to replace VBA, but wouldn't a more mathematically inclined language like Haskell or R be better for making Excel functions?

  27. Clearly a Good Thing (TM) by Dawn+Keyhotie · · Score: 1

    This is clearly a Good Thing, and could never cause any kind of security concerns.

    After all, the one thing I always wanted in my company's proprietary and highly confidential corporate budgeting spreadsheets was the ability to stream random data from the Internet.

    Also, I have a bridge in Brooklyn to sell, the biggest and most amazing bridge ever. Call today!

    --
    "The only good windmill is a tilted windmill."
    1. Re: Clearly a Good Thing (TM) by Anonymous Coward · · Score: 0

      You are selling the Brooklyn bridge?

  28. A terrible idea by Anonymous Coward · · Score: 0

    This is a terrible terrible terrible terrible terrible terrible terrible terrible terrible terrible terrible terrible idea. Like Excel needs a larger attack surface or a new way to launch malware or malicious code. Redmond FAILS AGAIN.

  29. I have an idea by viperidaenz · · Score: 1

    Remove custom functions, scripting and macros from Excel.

    At the very least, it will stop people building business critical applications as a spread sheet.

    On second thought, bring on the JavaScript functions. I make a lot of money replacing spread sheet applications with real ones.

  30. Office Space by TJHook3r · · Score: 1

    At least this kludge will make it easier for office anarchists to skim a fraction of a penny off every transaction and deposit into a bank account... JS precision is so bad nobody would ever notice!

  31. Why JS by Anonymous Coward · · Score: 0

    So many better options... starting with maybe python, ... but js sucks more than even vbshit.

  32. News flash from the future by Zaiff+Urgulbunger · · Score: 1

    News Flash From The Future
    Financial melt-down due to developer pulling NPM packages for some arbitrary reason; economists inconsolable!

  33. Gross... by Karmashock · · Score: 1

    Well, count down to viruses.

    --
    I've decided to stop wasting my time responding to AC trolls/sockpuppets... so if you want a response from me... login.
  34. Not the Excelent Excel Object Model by aberglas · · Score: 3, Interesting

    No, it does not use the Excel Object Model.

    The Excel Object model is actually very good. Sensible and clean (ignoring recent horrors like the ribbon). COM is a mess, but the object model is excellent.

    Moving to JavaScript does not merely men replacing End If with {}. The JavaScript model runs in a client server style, with futures etc. Much, much more complex. That is the essence of the change, Not the actual language.

    10 lines of VBA becomes 100 lines of the new Java API. And is impossible for non-programmers to write. And that is what VBA supports, non programmers.

    In VBA you can even record a macro, see the object handling, and then tidy it up afterwards. Excellent.

    What actual users of Excel want is the VBA to be properly supported. It was abandoned for .Net, which was unusable by non programmers and very difficult to deploy. And now the fashion is Javascript. But since when to developers listen to uses? Wot's hot and wot's not. That is what counts.

  35. All Good, except for this other thing by Provocateur · · Score: 1

    Perish the thought, unless you want to end up in Federal pound-me-in the-ass prison!

    --
    WARNING: Smartphones have side effects--most of them undocumented.
  36. No news is bad news by bursch-X · · Score: 1

    So they went with this, at least Excel will be more in the news in the near future. They should also throw in jQuery and React, for good measure. If youâ(TM)re supporting JS go all the way!

    --
    There are two rules for success:
    1. Never tell everything you know.
  37. At least update the broze-age era IDE already! by LostMonk · · Score: 1

    While they're at it, will they at least update that broze-age era IDE that lurks inside MS Office like a horror in a dark cellar?