Microsoft Office XP Developer
Scripting in Office Applications

In the past, scripting in Microsoft® Office applications was confined to manipulating Microsoft® Outlook® objects and controls from within an Outlook form. In addition, in one sense this is still the case. You can still use script to work with Outlook objects from within the Outlook application. You still use Microsoft® Visual Basic® for Applications (VBA) to work with the objects exposed by Office applications.

What has changed is that you can now use Office applications to create Office documents designed to be viewed with a Web browser. This section discusses working with the Microsoft Script Editor and using scriptlets.

In This Section

Working with the Microsoft Script Editor
The Microsoft Script Editor has been added to the Microsoft® Office applications, so you can work with the HTML code, DHTML objects, and script in an Office document from within an Office application.
Understanding Scriptlets and Behaviors
A scriptlet is a lightweight, reusable Component Object Model (COM) component that consists of HTML code and script and is created according to certain conventions.

Related Sections

Understanding DHTML, Cascading Style Sheets, and Scripting
Even if you are an experienced Microsoft® Office and Microsoft® Visual Basic® for Applications (VBA) developer, you might approach this subject with a little apprehension.
Working with DHTML and the DHTML Object Model
DHTML, through the document object model, provides an application programming interface (API) for working with HTML elements and cascading style sheet information.
Page view tracker