O'Reilly logo

Writing Word Macros, Second Edition by Steven Roman PhD

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 11. The Application Object

In this chapter:

  • Properties and Methods

  • The Options Object

  • The Task Object

  • The Template Object

  • The Window Object

  • The Pane Object

  • The View Object

  • The Zoom Object

At last we can begin a detailed look at the major portions of the Word object model, starting with the Application object, which sits atop the object model. Figure 11-1 shows the Application object and its children.

Figure 11-2 shows those children of the Application object that I discuss in this book, in this chapter and later chapters. After discussing some of the properties and methods of the Application object itself, I discuss some of the simpler child objects of Application in this chapter, saving the more involved child objects for later chapters.

Properties and Methods

The Application object has a whopping 139 properties and methods:

Activate

Caption

DefaultTableSeparator

ActiveDocument

CaptionLabels

Dialogs

ActivePrinter

CentimetersToPoints

DisplayAlerts

ActiveWindow

ChangeFileOpenDirectory

DisplayAutoCompleteTips

AddAddress

CheckGrammar

DisplayRecentFiles

AddIns

CheckSpelling

DisplayScreenTips

Application

CleanString

DisplayScrollBars

Assistant

CommandBars

DisplayStatusBar

AutoCaptions

Creator

Documents

AutoCorrect

CustomDictionaries

EnableCancelKey

AutomaticChange

CustomizationContext

FileConverters

BackgroundPrintingStatus

DDEExecute

FileSearch

BackgroundSavingStatus

DDEInitiate

FindKey

BrowseExtraFileTypes

DDEPoke

FocusInMailHeader ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required