Stories
Slash Boxes
Comments

News for nerds, stuff that matters

VBA Going Away, Macs Now, PCs Soon

Posted by kdawson on Tuesday January 15, @03:01PM
from the cuts-down-on-the-cross-platform-exploits dept.
Nom du Keyboard writes "As Microsoft drops support for older Office file formats, it looks like Visual Basic for Applications is also going soon. Mac Office 2008 has dropped VBA in favor of enhanced support for AppleScript, and Office 2009 is scheduled to lose it in favor of Mac incompatible Visual Studio Tools for Applications (VSTA) or Visual Studio Tools for Office (VSTO). This sounds like the Mother of All Backwards and Cross-Platform Incompatibilities — especially since there appears to be no transition period where both the old and new scripting languages will be simultaneously supported. And as past experience with Visual Studio .NET has shown, upgrade tools are far less than perfect."

Related Stories

[+] Microsoft Says VBA Is Here To Stay 115 comments
Angostura writes "Microsoft's team blog for Microsoft Excel and Excel Services has responded with a denial to the earlier report that Visual Basic for Applications will disappear from Windows Office in 2009. The Slashdot discussion on the report on Tuesday got pretty animated."
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.

VBA Going Away, Macs Now, PCs Soon 25 Comments More | Login | Reply /

 Full
 Abbreviated
 Hidden
More | Login | Reply
Keybindings Beta
Q W E
A S D
Loading ... Please wait.
  • Cross Platform? (Score:4, Interesting)

    by MightyYar (622222) on Tuesday January 15, @03:06PM (#22055998)
    So my only cross platform choice for scripting office applications is now OO.org? Sweet Jesus! MS, WTF?
    • Re:Cross Platform? (Score:5, Insightful)

      by ricegf (1059658) on Tuesday January 15, @03:19PM (#22056244) Journal

      This could be good news! We currently have to support MS Office versions of our customizations for Windows, and OOo versions for Linux / Unix. Since Microsoft is forcing us to go back and rewrite the MS Office versions if we upgrade our Windows apps - why not just upgrade to OOo on all platforms, avoid the rewrite cost, and maintain just one set of customizations going forward!

      Yes, yes, I see a great "employee suggestion" fattening my wallet this year...

        • Re:Cross Platform? (Score:5, Informative)

          by ianare (1132971) on Tuesday January 15, @04:32PM (#22057576)
          Python Power [openoffice.org] baby !!
        • Re:Cross Platform? (Score:5, Informative)

          by ricegf (1059658) on Tuesday January 15, @04:40PM (#22057732) Journal

          "There is no macro language specified in ODF [wikipedia.org]. Users and developers differ on whether inclusion of a standard scripting language would be desirable." So, I'm afraid not.

          However, OOo defines a Universal Developer's Kit [openoffice.org] that allows development of scripts in any supported language. The one's we have written are in Basic, though our current choice would be Java or Python [openoffice.org] (we us a lot of both).

          My current version of OOo (2.3 in Ubuntu Gutsy) lists Basic, Python, Javascript, and Beanshell as available by default. I'd have to check to verify that these same options are available on 2.3 on Windows and Unix.

        • Re:Cross Platform? (Score:5, Informative)

          by mvdwege (243851) <mvdwege_public@myrealbox.com> on Tuesday January 15, @04:50PM (#22057864) Homepage
          Does ODF have a scripting language defined?

          Wrong question. ODF is a document format, it defines the form of the data. The data does not determine what tools must be used to process it, except in cases of proprietary formats, where the only tools are the vendor supplied ones. Tying the format closely to the tools meant to process it, to the point of embedding the processing code in the data, is one of the design blunders perpetuated by Microsoft, which gave us such wonderful 'innovations' as Word Macro Viruses.

          ODF can in principle be processed by any language that has a decent XML processing library available, or through the API of the document editing tools. The leading API at the moment is OpenOffice.org's, which is open to any language with bindings to its UNO component model, including the language shipping with OpenOffice.org, a version of BASIC resembling VBA.

          Mart
        • Re:Cross Platform? (Score:5, Insightful)

          by ricegf (1059658) on Tuesday January 15, @07:48PM (#22060276) Journal

          Wouldn't it be possible, at the corporate level, to do quite a bit of customization, more than possible for mere humans on MS Office.

          I'm not all corporations, but I've been around a few decades. Here's my 2 cents worth.

          All of the OOo code is licensed [openoffice.org] under the LGPL [gnu.org], and can be freely downloaded [openoffice.org], built and customized. So yes, it's possible. The sky's the limit; it's just software. :-) Several factors make it less likely that a corporation would take this approach, however.

          One is that such a customization would very likely be deemed a "derivative work" by Legal, in which case if it were distributed (e.g., to suppliers for a given project, or even arguably to contractors working for the corporation), then the source must be made available as well. Non-software corporations tend to be allergic to releasing their source code, in my experience, because their lawyers tend to be very conservative. Some manager somewhere will likely have to bet his career by accepting legal liability for the corporation. Will the risk to his career if Something Bad Happens justify the benefit he perceives?

          The issue of support will also likely be raised. What if the customized version breaks - who will "support" it? Yes, yes, we all know the internal team of developers will - assuming they weren't laid off in the last "shareholder value" improvement exercise (a constant risk in corporate America). But IT directors tend to go the other direction, from what I've seen - they want to outsource support (and legal indemnification) for open source software, so it can be treated as if it were proprietary. Proprietary means comfort; a target at which the finger can point if Something Bad Happens. This tendency is likely the foundation of IBM's business case for Symphony, by the way.

          Finally, if a support team were to be established in a corporation to produce a custom version of OOo, they would need to have some type of development environment. As much fun as bashing Microsoft may be, Visual Studio and .NET are not technically inferior products. So a corporation is unlikely to consider that an inferior option to, say, Eclipse technology. Sure, it costs a lot more - but it's a small number of licenses. They probably wouldn't hesitate.

          But in the end, I suspect a lot of corporations just want to write scripts and such without mucking around in the source code proper. The issues most likely to resonate are: (1) How do you efficiently distribute the customizations? (2) How hard are they to develop and maintain? and (3) Can we use them on all of our platforms as is, or do we have to port or (ack!) redevelop for each platform? The third is where Microsoft's "Windows Everywhere" bias may hurt them with this decision to abandon VBA. (Gee, now I'm sure glad we chose to use Python [jython.org] as the scripting language in our internal applications! :-)

  • Unless.... (Score:5, Informative)

    by VValdo (10446) on Tuesday January 15, @03:12PM (#22056106)
    As Microsoft drops support for older Office file formats, it looks like Visual Basic for Applications is also going soon

    Unless... what if there were only some alternative, open-source project [neooffice.org] that already supports it on Mac [neooffice.org] and a similar ongoing Windows/Linux project [openoffice.org]...

    Oh well, I can dream.

    W
  • Time for Java (Score:5, Informative)

    by teknopurge (199509) on Tuesday January 15, @03:12PM (#22056108) Homepage
    Not a troll.

    Java has a scripting extension [sun.com]. No, not Javascript(only), but you can plug various Scripting languages [java.net] into it, or use Judo [judoscript.com] which is the real endgame for this problem.
  • by LWATCDR (28044) on Tuesday January 15, @03:13PM (#22056142) Homepage Journal
    So Mac you thought you where so funny. Well take this! "PC throws a chair label Cross platform compatability right out a Window".
    So what you going to do about Mister I am so much cooler than a PC!.
    Mac pick up the phone.
    "Hello Open Office org?, Yea this is Mac I have a message from Steve for you. How would you like a big pile of cash and about a hundred programers? Really great they will be right over."
  • Well, it's a start. (Score:5, Funny)

    by TW Atwater (1145245) on Tuesday January 15, @03:17PM (#22056216)
    Let me know when they dump Windows.
  • Goodbye to MS-Office ? (Score:5, Interesting)

    by alexhs (877055) on Tuesday January 15, @03:23PM (#22056352) Homepage Journal
    I find it amazing how MS is eager to cut the branch it's sitting on these times.
    I thought VBA was one of the major reasons for businesses to not switch to alternatives : because they developped in-house lots of VBA code to achieve some tasks, that would tie them to the MS-Office suite.
  • Don't mind at all (Score:4, Insightful)

    by Killer Eye (3711) on Tuesday January 15, @03:25PM (#22056394) Homepage
    I don't mind seeing software companies trash their customers' investments this way. It just means that more people will learn (albeit the hard way) just how tied they are to the whims of their vendors, and seek a way to end the pain. The outcomes of that are generally a step forward for the industry.

    For example, this could cause some people to start demanding more of their software vendors (e.g. open formats, better support contracts, whatever). Or it could cause them to look at free/open formats and software as a way to avoid this problem in the future.
  • How stable are OO macros? (Score:4, Insightful)

    by cheros (223479) on Tuesday January 15, @03:32PM (#22056536)
    I guess moving to OO or StarOffice would not be such a bad move after all then. La least the macro language is consistent across apllications as well as platforms.

    I guess the only question remaining is why you would run Windows after that, but you should ave been asking that question quite a while back ..
  • Zero-based arrays (Score:4, Funny)

    by wiredlogic (135348) on Tuesday January 15, @03:33PM (#22056548)
    Good. Can we have our zero-based arrays back now?
  • Typical (Score:5, Interesting)

    by GreatDrok (684119) on Tuesday January 15, @03:49PM (#22056900) Journal
    All the UNIX skills I developed over the last 20 years are still useful. So glad I haven't bothered to spend any time on the MS treadmill. Heck, all the software I wrote over the last 20 years can still be compiled and runs happily on a modern machine that is hundreds of times faster than the SPARCstation 1 I used to run on.

    Do you think the PHBs will ever learn that using proprietary systems like Windows may seem cheaper in the short term but in the long run you open your wallet and let them take take take?
    • Re:Typical (Score:5, Insightful)

      by lgw (121541) on Tuesday January 15, @05:58PM (#22058888) Journal

      Do you think the PHBs will ever learn that using proprietary systems like Windows may seem cheaper in the short term but in the long run you open your wallet and let them take take take?
      PHBs are compensated for short term performance and in the long term work at a different company. Microsoft provides exactly the correct solution for this market.
    • Re:Die Visual Basic (Score:5, Insightful)

      by I8TheWorm (645702) * <jeff@@@jeffreyhamby...com> on Tuesday January 15, @03:20PM (#22056276) Homepage Journal
      One word.... RAD. Well, ok, it's really three words.

      With the PHBs having been promised projects developed in half the time with a smaller team, I can see how VB got it's bloated non-type-safe foot in the door.

      And rewriting projects now that are a VB fiasco is making for lots of development jobs ;)
        • Re:Die Visual Basic (Score:5, Interesting)

          by I8TheWorm (645702) * <jeff@@@jeffreyhamby...com> on Tuesday January 15, @03:47PM (#22056832) Homepage Journal
          Only less than fully informed because I didn't qualify it.

          The rewrite projects I've seen regarding VB to [insert your own language of choice here] seem to be wrapped around a common theme... unsupportable code. While I'm sure there are plenty of enterprise level applications out there written in VB and well-written, the majority of what I've seen takes form level code and spaghetti to a whole new level.

          My only guess as to why this happens with such frequency is the environment in the late 90s where there were more jobs than programmers, too many "Sam's Teach Yourself Visual Basic in 21 Hours" books, and a lack of architecural knowledge leading VB teams down the path of no return.

          What many companies are left with are legacy apps that nobody wants to support, much less enhance. And with webServices, AJAX and all that is Web 2.0, and a bevy of other technologies that people want to utilize, enhancing kludgy enterprise VB apps with no architecture tends to be more expensive than a proper rewrite.

          A funny note: I'm currently contracted to a company that lost all of it's Java/Jade developers when part of the company was sold. In an effort to get the software on supported technology, phase 1 of this project is to reverse engineer the (completely undocumented) application and recreate it in C#. No changes allowed, regardless of best practices. Phase 2 is to completely rewrite it. By reading this could you guess this company is in the oil and gas industry?
          • Re:Die Visual Basic (Score:5, Insightful)

            by AmericanInKiev (453362) on Tuesday January 15, @04:16PM (#22057372) Homepage
            I think you are criticizing an organic process for choosing the path of least resistance.

            Futile and somewhat incompletely informed spring to mind.

            VB is successful because most of the potential applications for computers are not terribly time or resource constrained, most applications are cost-of-development constrained. VB is chosen because it consistently provides the path of least resistance to the first deliverable result, and executives will always bet on the horse that makes it to the first turn - first.

            I'm suggesting these executives are not silly - they realize that in the rare case that a software becomes truly important, they will invest in an upgrade - but they avoid the upgrade costs on all the other trial balloons that fill the long spans between truly-imperative-software.

            In any cases, engineers who race to the first pole, do so because it keeps them employed, and that ain't so silly either.
            Criticizing a platform for being popular is what is silly in my humble opinion.

            AIK
              • Re:Die Visual Basic (Score:5, Insightful)

                by AmericanInKiev (453362) on Tuesday January 15, @09:27PM (#22061322) Homepage
                VB was the first language which offered RAD - while at the same time offering the technical breadth and reach of 3rd-party add-ons and access to the Windows API.

                The language is absent the jargon-punctuation cruft of c {};

                And instead closely follows a language with worldwide recognition.

                In some respects c can be compared to latin, or perhaps better to esperanto, which is a contrived language which doesn't resonate with any significant population from birth.

                VB, on the other hand, recognizes and embraces the symbolic similarities between branching in code, and branching in languages. It turns out that the advantage of shadowing a natural language are born out in adoption rates and learning curves.

                I agree, that VB6 had some issues, limitations etc, but notwithstanding the pain of starting over in .Net - The benefits of natural language, and minimal punctuation will continue to accelerate learning of VB over contrived syntaxes.

                  - Again, I am impressed, and you should be as well, that 168-form VB apps could even be written by people who are obviously ill-equipped to produce similar software in any other language. This feat must, at some level, be taken as a complement of the degree to which VB has papered-over a great deal of the complexity of code-writing. I suggest it is a criticism that java, ruby, or perl, hasn't been nearly as effective in bringing systems-design to a broader audience.

                AIK

    • by gstoddart (321705) on Tuesday January 15, @03:33PM (#22056564) Homepage

      What is the difference? What do you get by replacing VBA with VSTO or VSTA?

      Screwed over and locked in, with no cross-platform support?

      Flippancy aside, Microsoft trots out what they decree is the Next Big Thing about every 4-5 years. In the process, they act like what they used to call the New Hotness is a smelly pile they want to get away from, and drop support for it. Of course, it was a smelly pile in the first place, but it was their smelly pile and they wanted you to buy it and spent a lot of money convincing you it was good.

      In the mean time, companies have spent a lot of money supporting and implementing the technologies, buying training, books, etc. Then you re-start the cycle all over again. This is just the next in a long-line of technologies that Microsoft has swept under the rug and moved on. Then a whole new gravy train starts.

      Of course, they get the added benefit that you will have even less support and functionality on Mac OS. And, if that is the case, then why would someone by a Mac when they need Office?

      I suspect this is 1/3 "technical", 1/3 "strategic", and 1/3 "because we can, bitches".

      In the end, who is to stop them? The customers never leave en masse like people have been predicting for as long as I can remember. People adopt the technologies. And, everyone just sucks it up and gets on with their day.

      Trotting new, unfinished technologies and dropping older, unfinished technologies and charging for it is Microsoft's bread and butter. It's one big hamster wheel. :-P

      Cheers