• Dave@lemmy.nz
    link
    fedilink
    English
    arrow-up
    100
    ·
    11 months ago

    I have seen critical enterprise applications run in VBA in excel. Removing VBA would cause global economic ruin. I’m pretty sure that’s the unspoken backstory for the Fallout series.

    • Pistcow@lemm.ee
      link
      fedilink
      English
      arrow-up
      39
      ·
      11 months ago

      Can confirm. Worked at several billion dollar corps that would collapse without vba.

    • OldFartPhil@lemm.ee
      link
      fedilink
      English
      arrow-up
      36
      ·
      edit-2
      11 months ago

      Another confirmation here. At my previous job, I was they guy who built Access databases and wrote VBA code. While not ideal, it was a very small business (less than 10 employees) and it was fit for purpose.

      When I got a new job at a company with almost 3,000 employees, I was like, “Finally, I’ll be working somewhere that has proper IT resources.” Ha! I soon find out that my department runs critical business infrastructure with Excel macros. And we have a proper IT department.

      As everyone has already said, if IT resources are in short supply (or the wait is too long, or building projects with IT support is a PITA), then people will build systems with the tools they have at hand. And that’s often MS Office.

      • Melkath@kbin.social
        link
        fedilink
        arrow-up
        22
        arrow-down
        1
        ·
        edit-2
        11 months ago

        Also remember, strictly speaking, IT is not software development. IT is networking and hardware management.

        Software development (and scoff all you want, but VBS/VBA are programming languages/frameworks used to develop software applications) is its own separate beast.

        They MAY report to the CIO. They could also report to the COO. Fuck, software development/process automation/business intelligence can have a director reporting directly to the CEO.

        In general, software development and information technology are not the same and don’t reside in the same chain of command.

        • HumbertTetere@feddit.de
          link
          fedilink
          English
          arrow-up
          10
          ·
          11 months ago

          Strictly speaking, information technology encompasses software dev as a subfield. Practically, a large software development at a company has very different needs and strategic goals than what people usually understand as the “IT guys” so what you mentioned. So they are set up accordingly in an organisation.

        • Ænðr@lemmy.sdf.org
          link
          fedilink
          English
          arrow-up
          4
          ·
          11 months ago

          With some of my smaller clients, the CIO is the same as the CTO and the same as the IT Director. There, IT is developers, too.

      • BoofStroke@lemm.ee
        link
        fedilink
        English
        arrow-up
        4
        ·
        11 months ago

        IT isn’t developers. What is really needed is a developer on your team, or somebody who at least knows how to lead the effort. I’ve been that guy.

        • OldFartPhil@lemm.ee
          link
          fedilink
          English
          arrow-up
          2
          ·
          11 months ago

          We do have developers on our team. They write Excel macros :). I work in data integration, so it isn’t as simple as building a more robust tool. We still need infrastructure support or our tool doesn’t do anything.

          • Melkath@kbin.social
            link
            fedilink
            arrow-up
            3
            arrow-down
            1
            ·
            11 months ago

            Please at least tell me that the Macros are just a front end for ODBC connections to actual SQL servers for ETL functions, and it ALL isn’t stored only in excel…?

            • OldFartPhil@lemm.ee
              link
              fedilink
              English
              arrow-up
              1
              ·
              11 months ago

              It’s not that bad, the macros are just front end apps. Our data is housed in a real, enterprise class database.

    • Melkath@kbin.social
      link
      fedilink
      arrow-up
      27
      arrow-down
      2
      ·
      11 months ago

      My job is literally to keep a NASDAQ company afloat on process automation written mostly in VBA to make up for the sweeping layoffs that were made to keep the CEOs bonuses fat…

        • pirrrrrrrr@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          1
          ·
          11 months ago

          And then MS will issue a limited extension.

          An business still won’t be ready.

          Modern auth on email is still causing problems for a lot of places.

    • brsrklf@jlai.lu
      link
      fedilink
      English
      arrow-up
      9
      ·
      edit-2
      11 months ago

      I’ve worked for a major international company and I was for a while the only maintainer of a shitty request form in an excel file, sent worldwide to hundreds of people. As they wanted more and more specific functions the stuff grew to thousands of unholy VBA code lines and a huge hidden sheet of data.

      That thing even had a fully custom language switch function for all dozens of field labels and their possible values.

      I kinda hope they’re still using it (that wouldn’t surprise me) and that their whole workflow will crash and burn when Microsoft finally kills VBA.

    • Ænðr@lemmy.sdf.org
      link
      fedilink
      English
      arrow-up
      5
      ·
      11 months ago

      Enterprise will cause a boom in hiring VBA devs to migrate legacy apps to other programming languages, then hear Microsoft will extend support for a few more years, then fire all those VBA devs again. If Microsoft had some wits, they’d create easy tools to migrate VBA to C#.

    • eee@lemm.ee
      link
      fedilink
      English
      arrow-up
      4
      arrow-down
      3
      ·
      11 months ago

      Well it’s gotta be done some time… otherwise we end up with another version of COBOL.

      • Dee@lemmings.world
        link
        fedilink
        English
        arrow-up
        5
        ·
        11 months ago

        otherwise we end up with another version of COBOL.

        We’re already there, I don’t see VBA being phased out of accounting or finance for at least a decade and I’m not even sure then.

      • Melkath@kbin.social
        link
        fedilink
        arrow-up
        5
        arrow-down
        4
        ·
        11 months ago

        Or how about this… we use what works and stop throwing the world into chaos every 4 years so Microsoft can sell their next 50k/year enterprise application.

    • HidingCat@kbin.social
      link
      fedilink
      arrow-up
      0
      ·
      11 months ago

      WTF, seriously? VBA feels more like a scripting addon (which I suppose it is), not something to build wholesale CRITICAL programs with.

      • kubica@kbin.social
        link
        fedilink
        arrow-up
        0
        ·
        11 months ago

        The things done in excel might not be critical per-se, but macros are used and abused a lot and many companies can be affected by their dependence on workflows refined over the years.

        • HidingCat@kbin.social
          link
          fedilink
          arrow-up
          0
          ·
          11 months ago

          Haha, don’t I know it. I’ve had to work with some of them in a past life. Messy and also very scary at how they underpin million dollar decisions.

          • Melkath@kbin.social
            link
            fedilink
            arrow-up
            0
            arrow-down
            1
            ·
            11 months ago

            This is true for software in general.

            The same description can be given to workshops (and you know they already exist) that do the same stuff with ChatGPT.

      • Melkath@kbin.social
        link
        fedilink
        arrow-up
        0
        arrow-down
        1
        ·
        11 months ago

        It’s a scripting language.

        A solid, verbose, diverse scripting language that gives you impressive control over Windows environments.

        If some people are delivering malware or phishing, that sucks, but it doesn’t negate the languages merit.

        It would be the same as ceasing production of spray paint because of taggers.

        The ends don’t justify the means.