Updated: July 10, 2020 (November 3, 2003)

  Sidebar

Development Tools for Office

My Atlas / Sidebar

904 wordsTime to read: 5 min
Rob Helm by
Rob Helm

As managing vice president, Rob Helm covers Microsoft collaboration and content management. His 25-plus years of experience analyzing Microsoft’s technology... more

Unlike Microsoft’s development tools, Office has not yet made the move to the .NET Framework and managed code. Although some workarounds allow developers to build managed code for Office, a full solution is not likely until “Office for Longhorn.”

COM and VBA Still Supported

Word and Excel expose their functionality to developers via COM APIs. Developers then build on those APIs using Visual Basic for Applications (VBA)-the built-in programming environment derived from Visual Basic and included in Word and Excel. Even the macro recorder feature included in each product generates VBA code. This environment has proven popular with some IT organizations, as it allows them to customize Office to their specific business needs.

Microsoft continues to support COM and VBA development in Office 2003 and, given the widespread use of features such as the macro record, is likely to do so for the foreseeable future. However, the company is in the midst of a transition from COM and VBA to the .NET Framework and is clearly no longer investing significant resources in enhancing the older technologies.

Atlas Members have full access

Get access to this and thousands of other unbiased analyses, roadmaps, decision kits, infographics, reference guides, and more, all included with membership. Comprehensive access to the most in-depth and unbiased expertise for Microsoft enterprise decision-making is waiting.

Membership Options

Already have an account? Login Now

Updated: July 13, 2020 (August 18, 2003)

  Sidebar

Development Tools for Office

My Atlas / Sidebar

531 wordsTime to read: 3 min

Unlike Microsoft’s development tools, Office has not yet made the move to the .NET Framework and managed code. Although some workarounds allow developers to build managed code for Office, a full solution is not likely until “Office for Longhorn.”

Word and Excel expose their functionality to developers via COM APIs. Developers then build on those APIs using Visual Basic for Applications (VBA)-the built-in programming environment derived from Visual Basic and included in Word and Excel. Even the macro recorder feature included in each product generates VBA code. This environment has proven popular with some IT organizations, allowing them to customize Office to their specific business needs.

But while Office continues to use VBA and COM, Microsoft’s developer products, most notably Visual Studio .NET, have moved to the .NET Framework, giving developers a more robust and easier-to-use programming environment, as well as the choice of multiple programming languages. To help bridge the gap between Office and .NET, Microsoft makes available an add-on to Visual Studio .NET-the Visual Studio Tools for Office-that layers a set of .NET APIs on top of the COM APIs in Office. But unlike VBA, which is built into Office and therefore available to sophisticated end-users who create and edit macros, the Visual Studio Tools for Office require Visual Studio, which is targeted exclusively at developers.

Atlas Members have full access

Get access to this and thousands of other unbiased analyses, roadmaps, decision kits, infographics, reference guides, and more, all included with membership. Comprehensive access to the most in-depth and unbiased expertise for Microsoft enterprise decision-making is waiting.

Membership Options

Already have an account? Login Now