• bulwark@lemmy.world
    link
    fedilink
    English
    arrow-up
    109
    arrow-down
    1
    ·
    1 year ago

    Man I hate VBA as much as the next guy, but when the IT department has your network so locked down you cant install anything. Having that hidden tab in Excel to write a script to automate some mundane task was really useful. I like python, but there’s no fuckin way my ex employer would just allow me to run random python code like they did for VBA. It was a gov job btw.

    • Willem@kutsuya.dev
      link
      fedilink
      English
      arrow-up
      48
      arrow-down
      1
      ·
      1 year ago

      Python is soon to be integrated into excel, I might not be a python fan but if it’s gonna replace vba I’m all for it.

      • __ghost__@lemmy.ml
        link
        fedilink
        English
        arrow-up
        35
        ·
        1 year ago

        Afaik the python is ran on Microsoft servers, so not exactly a perfect solution. I doubt it will run offline at all

      • Ænðr@lemmy.sdf.org
        link
        fedilink
        English
        arrow-up
        10
        ·
        1 year ago

        Wouldn’t it face the exact same security issues as VBA, with drive-by installs of obfuscated malware and executions of arbitrary code?

        • cmhe@lemmy.world
          link
          fedilink
          English
          arrow-up
          4
          ·
          1 year ago

          You don’t understand. “Security” is always the goto reason for either changing or leaving stuff as is, if companies don’t want to state the real reason.

          People are used to ccept “Security” as a reason for almost anything.

          I remember once where a MS guy (someone higher up, don’t remeber who, is many years ago…) was asked why the Windows filesystems are case-insensitive and stated the reason was security, so that one file cannot be named the same with just different upper/lowercasing letters. Classic deflection.

    • WaterWaiver@aussie.zone
      link
      fedilink
      English
      arrow-up
      9
      ·
      edit-2
      1 year ago

      The article is not about VBA, it’s about VBS. The languages are similar but not the same (why exactly MS did it this way I’ll never know).

      VBA is for embedded macros in MS Office documents.

      VBS is a standalone language you write into .vbs files that get executed by wscript.exe. It’s a default windows feature that has been around a long time (IIRC the ILOVEYOU worm used it).