Home > Microsoft .Net Development Tips > Microsoft Office Development > How to customize the Office 2007 Ribbon
Win Development Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

MICROSOFT OFFICE DEVELOPMENT

How to customize the Office 2007 Ribbon


Brian Eastwood, Site Editor
09.19.2006
Rating: --- (out of 5)


Office Development Channel
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


One of the biggest UI changes in Office 2007 is the ribbon. This UI element displays the most frequently used commands in a strip across the top of the screen. It is meant to replace the Office suite's ever-growing list of drop-down menus, toolbars and task panes, many of which sit unutilized by end users.

The ribbon does share a similarity with the menu list, though -- it can be customized. The best tool for the job is Visual Studio 2005 Tools for Office, which was just released in beta for development for Office 2007. However, a combination of XML markup and any .NET language (including VB 6 and VBA) will suffice.

A two-part tutorial recently posted on MSDN, Customizing the Office (2007) Ribbon User Interface for Developers by Frank Rice, examines the many types of customization that are possible, offers hints and code samples and addresses frequently asked questions about Office 2007 development.

In Part 1, Rice offers a quick guide to the three ways to create custom, application-level Ribbon UI elements for Word, Excel and PowerPoint in Office 2007 -- COM add-ins, application-specific add-ins and Word 2007 templates. Ric...


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google



RELATED CONTENT
Microsoft Office Development
Downloadable MSDN library released for VS 2008 SP 1
Check the MSDN Virtual Labs for regular, compelling new content
Windows XP SP3 pack includes new XML parser, enhanced IP security
Book excerpt: Building personalized solutions in SharePoint 2007
Book excerpt: Building document management solutions in SharePoint 2007
XAML as an everywhere presentation format
Where are the Visual Studio 2008 Tools for Office?
ClickOnce: Automated smart client deployment
Book excerpt: SharePoint 2007 and content types
Update desktops automatically using the AppUpdater component

Visual Studio Tools for Office (VSTO)
Where are the Visual Studio 2008 Tools for Office?
Using SharePoint, Office to develop portals and mashups
Gates offers musings on Office, services at ODC
Office System Developer Conference 2008 preview
What Visual Studio 2008 brings to client application development
On migrating from VBA to VSTO
Component works with Word files inside .NET applications
VSTA: How lightweight can you get?
Ten cool Visual Studio Orcas features, part 1
Office plug-ins possible with Visual Studio add-in

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


e then covers customization for Access 2007, which is a bit different because cannot add parts to the database file, and several additional customization scenarios.

Part 2 stands as an appendix of sorts. It presents descriptions, attributes and child information for Ribbon controls, lists callbacks and signatures for VB.NET, VBA, C++ and C, and includes an FAQ section. Between the samples provided in Part 1 and the resources in Part 2, Rice concludes, developers should be ready to start customizing Office 2007 for their end users.

For other Office 2007 development resources, check out David Gristwood's blog entry, So Many Office 2007 Resources for Developers Out There.

More on Office development from SearchVB.com

  • Tip: Using Microsoft Office as a development platform
  • Reference: Visual Studio Tools for Office Learning Guide
  • News: Special Report: Smart client development

    Rate this Tip
    To rate tips, you must be a member of SearchWinDevelopment.com.
    Register now to start rating these tips. Log in if you are already a member.




    DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



  • Database Programming Solutions - .NET XML, Visual Studio LINQ, ORM .NET
    About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
    SEARCH 
    TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

    TechTarget Corporate Web Site  |  Media Kits  |  Site Map




    All Rights Reserved, Copyright 2000 - 2009, TechTarget | Read our Privacy Policy
      TechTarget - The IT Media ROI Experts