Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

Microsoft Says VBA Is Here To Stay

Posted by kdawson on Fri Jan 18, 2008 10:24 AM
from the thought-we'd-seen-the-back-of-it dept.
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."
+ -
story

Related Stories

[+] VBA Going Away, Macs Now, PCs Soon 255 comments
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."
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • by sapone (152094) on Friday January 18 2008, @10:27AM (#22092598)
    If they had they rid the world of VBA on top of publishing their binary specs in an Open Source compatible way, their reputation bar might have ended up on the "good guy" side :).
  • by kellyb9 (954229) on Friday January 18 2008, @10:30AM (#22092640)
    Oh thank god... don't know what I'd do without that!
  • by jkrise (535370) on Friday January 18 2008, @10:32AM (#22092678) Journal
    If OOXML is to become an ISO standard fully implemented in Office 2009; VBA and binary blobs will have to be deprecated and removed from the feature list.

    Else, after ISO approval is sought and obtained, MS might claim it is deprecated but still provide support in Office..... either way, confused times ahead for the Office cash cow, methinks.
    • Agreed. VBA obviously can't be part of the ISO-ificated OOXML. VBA is probably going to be considered a 'legacy' feature, with recommendations that customers do new development on VSTA/VSTO.

      If history is any judge, many VBA apps will one day not work in future versions of Office anyhow. MSFT does plenty to break compatibility between releases. In fact, some VBA apps developed for Office 97 won't work on Office 2000 or later.
      • If history is any judge, many VBA apps will one day not work in future versions of Office anyhow.

        Actually, that should happen sooner rather than later, so this announcement is a retrograde step.

        DDE, OLE, COM and DCOM are fundamentally flawed models which were developed in a much less fraught security environment than we have now. VBA is heavily tied into that same flawed architecture.

        Microsoft has tried to address the exposures by disabling macros by default in Office, but the control they provide isn't fine-grained enough to do more than pass the buck to the customers who have to enable the lower security levels to get their documents working.

        They do have an answer in .NET, but until Office is re-written for that platform, and until there's some sort of converter for the massive collection of existing VBA to VBA.NET, they're stuck with the risky and clunky security fix.

      • Re: (Score:3, Informative)

        I've got no problem with them revamping VBA and breaking things here and there to make everything more robust. I'd much rather fix existing macros than start from scratch.

        We're smarter now and we typically make web apps, but when Excel 5.0 (IIRC) came out with VBA, it was like geek crack. We made so many VBA macros that it seems like that was all I did for a few years. Now, practically our whole measurement lab relies on VBA in some way or another. It would be quite a bit of work to re-write all of those li
  • by Coopjust (872796) on Friday January 18 2008, @10:34AM (#22092704)
    And despite the security problems that have plagued users for years due to VBA viruses, Microsoft won't remove VBA from Office.

    Interestingly enough:...

    While it's true that VBA isn't supported in the latest version of Office for the Mac and the VBA licensing program did close to new customers last year, we have no plans to remove VBA from future versions of Office for Windows


    Looks like MS may be crippling the Mac version to stop enterprises from moving on from Windows.
    • Looks like MS may be crippling the Mac version to stop enterprises from moving on from Windows.

      Vista needs some competitive advantage over MacOS X, I guess. Since OpenOffice supports it, though, I suspect most Mac users would rather give up MS Office than MacOS when possible. Considering the Mac is growing 2-3x the industry rate, tying Office to Windows in this manner is just Microsoft nailing one more nail in their own coffin.
  • by Apocalypse111 (597674) on Friday January 18 2008, @10:39AM (#22092776) Journal
    Customers don't want VBA to go away.

    They want the damn ribbon to go away!
    • Re: (Score:3, Informative)

      I don't know why you were modded 'Troll'. I think your statements are accurate. There are way too many lines of VB code written for businesses to want it to go away. If they had to re-write those lines (no matter what new language will be, or what the quality of the VB is), they would more likely abandon the need to upgrade. As for the ribbon, I haven't seen it, but that might be because my company didn't think it was necessary to upgrade to the current version of Office.

      Whether we like it or not VB is
  • VBA for Mac (Score:5, Interesting)

    by christurkel (520220) on Friday January 18 2008, @10:40AM (#22092800) Homepage Journal
    VBA for Office Mac was dropped because AppleScript is far more powerful for the task and by dropping VBA you hinder cross platform compatibility. Devious.
  • by HangingChad (677530) on Friday January 18 2008, @10:41AM (#22092814) Homepage

    I absolutely hate VBA but it's conflicted because I've made so much money untangling some spaghetti coded VBA nightmare cobbled together as a spare time project that became a legacy application no one can live without.

    Hate the language, love the money from fixing it.

  • by BobMcD (601576) on Friday January 18 2008, @10:55AM (#22093006)
    The link that _I_ clicked took me to a blog that said that VBA was no longer supported, and that the licensing program had gone away. To me this means 'dead'. No support and no license means that no reputable vendor is going to nail any new shingles to this product. Any future offerings using VBA are destined to be either snakeoil or shareware.

    Am I missing something here?
    • by HiredMan (5546) on Friday January 18 2008, @11:05AM (#22093162) Journal
      VBA is gone from Office for the Mac and VBA developers is closed. Microsoft is acknowledging that both these "clues" that made people conclude that VBA in Office was going away are true - but they contend that VBA in Office is not going away.

      "The facts you cited are right - but your logical conclusion was wrong. We're Microsoft and we are not bound by logic."

      Basically.

      =tkk
    • The entire article is thus -

      Following MacWorld earlier this week, there has been some inaccurate information circulating online regarding VBA support in Office for Windows. While it's true that VBA isn't supported in the latest version of Office for the Mac and the VBA licensing program did close to new customers last year, we have no plans to remove VBA from future versions of Office for Windows. We understand that VBA is a critical capability for large numbers of our customers; accordingly, there is no pl

  • by mallardtheduck (760315) <stuartbrockman@nOspaM.hotmail.com> on Friday January 18 2008, @11:09AM (#22093246)
    What I would like to see would be a .net based macro system in Office. Something where we could write macros in VB, C#, Python, or any other CLR language.

    Since .Net has built-in support for different trust levels, code signing, etc., security should be more manageable.

    Most of the work is in fact already done. The Microsoft.Office.* hierarchy already exists in .Net, all that is really needed is a way to embed .Net code in MS Office documents.
  • Still... (Score:3, Insightful)

    by Nom du Keyboard (633989) on Friday January 18 2008, @11:46AM (#22093836)
    Still, even if they keep in in Windows Office, there's no question that it's gone in Mac Office 2008, and that's a huge monkey wrench in mixed business environments. While I'm sure that the Microsoft "solution" is to just have you dual-boot into Vista when you need to run VBA on your Mac, this seems to clearly be an attack on Apple's recent success, and could be a deal-breaker in a significant number of environments.

    Or Mac users could refuse en masse to "upgrade" to this "downgrade".

  • Boggled (Score:5, Insightful)

    by samael (12612) * <Andrew@Ducker.org.uk> on Friday January 18 2008, @12:04PM (#22094198) Homepage
    Has anyone actually read the original explanation for why Office 2008 isn't getting VBA?

    http://www.schwieb.com/blog/2006/08/08/saying-goodbye-to-visual-basic/ [schwieb.com]

    Which makes it very clear that there are good technological reasons for dropping it. Or, at least, it's going to be such a huge amount of work to bring it natively to Intel that it's not worth it to MS.

    I mean, sure, some people at MS may be happy about it vanishing, but it doesn't sound like a conspiracy to me...
  • by Philotechnia (1131943) on Friday January 18 2008, @12:29PM (#22094720)
    Sung to the tune of "Chocolate Rain" by Tay Zonday
    http://www.youtube.com/watch?v=EwTZ2xpQwpA [youtube.com]
    (If you don't know, now you know)


    VBA
    So many people writing code in vain
    VBA
    Debugging apps is really quite a pain

    VBA
    Microsoft says it will not support
    VBA
    To C#, functionality we'll port

    VBA
    No rhyme or reason to deploy this mess
    VBA
    A seasoned coder really could care less

    VBA
    Slashdot will flame Microsoft either way
    VBA
    Now I'm confused why it is here to stay
    • Re: (Score:3, Informative)

      VBA relies on COM and parts of the original (up to VB6) VB engine to do its job. The Mac layer was based on a COM implementation on Mac. To continue the licensing scheme, they would have to maintain the complete library and eventually port it to 64-bitness. Just keeping the bits needed for Office can be simpler. At least, they won't have to maintain an external-product quality interface to the host application developers anymore. VBA support in a future Office release might be done through process separatio