30
heyheni
2y

this will cause so much pain for devs around the world. JS in Excel

Comments
  • 4
  • 8
  • 20
    Better than VBA
  • 10
    Say what you want about MS, they realised where they were going wrong and started fixing their shit really the right way.

    Beating Google in digitals products and competing Apple in hardware space.

    Competing with Sheets here.

    Time to place some bets on MS again, eh?
  • 3
  • 4
    @RememberMe To be fair one can use any language with COM support (e.g. VBA, JScript, Powershell, C(++/#), Go ...) to automate Excel but only from the outside.
  • 8
    Better than vb
  • 11
    It was only a matter of time.
    They already allowed it for office online.

    Now we wait for Doom written in excel.
  • 4
    But excel has had a JS API since office 2016 according to

    https://docs.microsoft.com/en-us/...

    "Introduced with Office 2016, the Excel JavaScript API provides strongly-typed objects that you can use to access worksheets, ranges, tables, charts, and more."
  • 2
    @heyheni @electrineer @Ranchonyx Can you provide some reasons about your comments... if you can
  • 5
  • 4
    @dontbeevil it's more javascript. We already have enough of that cardinal sin.
  • 4
    When you are just unable to learn anything from past macro-based malware epidemics...

    It isn't, that they aren't trying - they literally can't improve on security no matter what.
    The basic concept of attack surface is something so alien to them - they even have a kernel-based antivirus parsing dozens of exotic archive formats running in their OS by default.

    So yeah, next malware pandemic will be JS-infested Excel sheets. Not that it matters whether it is JS or VBA anyway...
  • 4
    @dontbeevil companies do too much with Excel, when it really should be a standalone application.
  • 3
    My JS is dog shit analogy just keeps holding true.

    Excel is the fridge.
  • 1
    Is this why I haven't been able to access any of my worksheets using office 365? Fucking microsoft.
  • 4
    JavaScript was a mistake
  • 1
    @electrineer @Ranchonyx @Oktokolo @heyheni oh in general I agree and understand your points... But in the end it's bit better/easier to use a "standard" language as js compared to vba. Of course you don't have to overdue everything in excel.

    P. S.
    In general I hate js
  • 0
    @dontbeevil
    My point has nothing to do with the choice of language.
  • 1
    Way better than VBA.
  • 2
    @dontbeevil ah well, in the context if VBA I agree.
  • 2
    excel still uses internet explorer internally, rigth? no more patches for that 😏
  • 2
    They day has come, I can finally get drunk enough to forget all about VBA! 🍻👏🎉
  • 0
    @Desinika noice! 😃
  • 1
    We should use ecma script instead in Excel. Much better language.
  • 0
    even if you'd use lisp that wouldn't stop malware creation
  • 1
    Actually, no, I'm looking forward to this now.

    I don't wanna touch VBA with a 10 foot pole
  • 0
    ...and JS just keeps on infecting and ruining everything... :(
  • 0
    @Midnight-shcode in general I agree, but for small scripts stuff like this I think a "standard" language like JS is great, instead of a proprietary one. JS ruins desktop web/electron apps, instead of native ones
  • 1
    @dontbeevil but "standard" is just a matter of proliferation, in this context.

    and js is prolific by mistake, accident, for all the wrong reasons and no good one.

    and everyone just keeps conceding to it.

    it's like Munich Diktat 2.0

    and the later everyone realizes, the worse the war will be.
Add Comment