Results 1 to 5 of 5
  1. #1
    5 Star Lounger
    Join Date
    Mar 2001
    Location
    New York, NY
    Posts
    922
    Thanks
    2
    Thanked 12 Times in 11 Posts

    VBA Word 2007 (Word 12)

    I've read everything I can find about Word 2007 and VBA / Visual Studio. Does anyone have some real world experience with Word 2007 VBA? Is there a deficiency that warrants abandoning VBA in favor of VS? Nothing I've read convinces me there's an advantage to VS. Is there any disadvantage to sticking with VBA?

    Thanks,
    Richard Barrett

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: VBA Word 2007 (Word 12)

    I can't think of any reason not to use VBA for the things it can do, and reserve VB.Net/C#/etc. for very special occasions. Particularly if you need to support earlier versions of Word.

    But I have not transitioned to the new document and template formats, so those might change the ease of deployment found in earlier versions, or security changes might make COM add-ins more necessary than they have been in the past.

  3. #3
    5 Star Lounger
    Join Date
    Mar 2001
    Location
    New York, NY
    Posts
    922
    Thanks
    2
    Thanked 12 Times in 11 Posts

    Re: VBA Word 2007 (Word 12)

    Thank you. Are you aware of any plans to phase out VBA? That notion seems unlikely; after all WordBasic is still understood!

    I understand that C++ is essential to modifying the Ribbon. I suppose most "menu" items on the Ribbon could be disabled with Office Policies, if suppressing some items is required; is that correct? When would modifying the Ribbon be necessary/useful? Typical toolbars can be included in add-in templates, correct?

    I agree that it's not yet time to transition to the new document format. Have you heard any reports about how, for example, Office XP deals with .docx format documents with the conversion utility? It's one thing to be the first firm to embrace the latest technology, but if clients and co-counsel can't open your documents.....

    Thanks.

  4. #4
    Lounger
    Join Date
    Aug 2002
    Location
    Harrisburg, Pennsylvania, USA
    Posts
    46
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: VBA Word 2007 (Word 12)

    One small factual correction; C++ is not required for modifying the Ribbon. I don't know the first thing about C++, but I have made a (very) modest start in working with RibbonX. Here are the resources that got me started:

    Custom UI Editor Tool
    Customizing the 2007 Office Fluent Ribbon for Developers (Part 1 of 3)
    Customizing the 2007 Office Fluent Ribbon for Developers (Part 2 of 3)
    Customizing the 2007 Office Fluent Ribbon for Developers (Part 3 of 3)

  5. #5
    5 Star Lounger
    Join Date
    Mar 2001
    Location
    New York, NY
    Posts
    922
    Thanks
    2
    Thanked 12 Times in 11 Posts

    Re: VBA Word 2007 (Word 12)

    Thank you very much. I take it that RibbonX is a utility whose sole purpose is modification of the Office 12 Ribbon? I'll have a look at the links you've provided.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •