Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Application Object Members

Office 2007

Represents the Microsoft Office Word application. The Application object includes properties and methods that return top-level objects. For example, the ActiveDocument property returns a Document object.

Methods

 NameDescription
Bb225979.methods(en-us,office.12).gif Activate Activates the specified object.
Bb225979.methods(en-us,office.12).gif AddAddress Adds an entry to the address book. Each entry has values for one or more tag IDs.
Bb225979.methods(en-us,office.12).gif AutomaticChange Performs an AutoFormat action when there is a change suggested by the Office Assistant. If no AutoFormat action is active, this method generates an error.
Bb225979.methods(en-us,office.12).gif BuildKeyCode Returns a unique number for the specified key combination.
Bb225979.methods(en-us,office.12).gif CentimetersToPoints Converts a measurement from centimeters to points (1 cm = 28.35 points). Returns the converted measurement as a Single.
Bb225979.methods(en-us,office.12).gif ChangeFileOpenDirectory Sets the folder in which Word searches for documents.
Bb225979.methods(en-us,office.12).gif CheckGrammar Checks a string for grammatical errors. Returns a Boolean to indicate whether the string contains grammatical errors. True if the string contains no errors.
Bb225979.methods(en-us,office.12).gif CheckSpelling Checks a string for spelling errors. Returns a Boolean to indicate whether the string contains spelling errors. True if the string has no spelling errors.
Bb225979.methods(en-us,office.12).gif CleanString Removes nonprinting characters (character codes 1 – 29) and special Word characters from the specified string or changes them to spaces (character code 32). Returns the result as a String.
Bb225979.methods(en-us,office.12).gif CompareDocuments Compares two documents and returns a Document object that represents the document that contains the differences between the two documents, marked using tracked changes.
Bb225979.methods(en-us,office.12).gif DDEExecute Sends a command or series of commands to an application through the specified dynamic data exchange (DDE) channel.
Bb225979.methods(en-us,office.12).gif DDEInitiate Opens a dynamic data exchange (DDE) channel to another application, and returns the channel number.
Bb225979.methods(en-us,office.12).gif DDEPoke Uses an open dynamic data exchange (DDE) channel to send data to an application.
Bb225979.methods(en-us,office.12).gif DDERequest Uses an open dynamic data exchange (DDE) channel to request information from the receiving application, and returns the information as a String.
Bb225979.methods(en-us,office.12).gif DDETerminate Closes the specified dynamic data exchange (DDE) channel to another application.
Bb225979.methods(en-us,office.12).gif DDETerminateAll Closes all dynamic data exchange (DDE) channels opened by Microsoft Office Word.
Bb225979.methods(en-us,office.12).gif DefaultWebOptions Returns the DefaultWebOptions object that contains global application-level attributes used by Microsoft Word whenever you save a document as a Web page or open a Web page.
Bb225979.methods(en-us,office.12).gif GetAddress Returns an address from the default address book.
Bb225979.methods(en-us,office.12).gif GetDefaultTheme Returns a String that represents the name of the default theme plus the theme formatting options Microsoft Word uses for new documents, e-mail messages, or Web pages.
Bb225979.methods(en-us,office.12).gif GetSpellingSuggestions Returns a SpellingSuggestions collection that represents the words suggested as spelling replacements for a given word.
Bb225979.methods(en-us,office.12).gif GoBack Moves the insertion point among the last three locations where editing occurred in the active document (the same as pressing SHIFT+F5).
Bb225979.methods(en-us,office.12).gif GoForward Moves the insertion point forward among the last three locations where editing occurred in the active document.
Bb225979.methods(en-us,office.12).gif Help Displays installed help information.
Bb225979.methods(en-us,office.12).gif HelpTool Changes the pointer from an arrow to a question mark, indicating that you'll get context-sensitive Help information about the next command or screen element you click. If you click text, Word displays a box describing current paragraph and character formats. Pressing ESC turns the pointer back to an arrow.
Bb225979.methods(en-us,office.12).gif InchesToPoints Converts a measurement from inches to points (1 inch = 72 points). Returns the converted measurement as a Single.
Bb225979.methods(en-us,office.12).gif Keyboard Returns or sets the keyboard language and layout settings.
Bb225979.methods(en-us,office.12).gif KeyboardBidi Sets the keyboard language to a right-to-left language and the text entry direction to right-to-left.
Bb225979.methods(en-us,office.12).gif KeyboardLatin Sets the keyboard language to a left-to-right language and the text entry direction to left-to-right.
Bb225979.methods(en-us,office.12).gif KeyString Returns the key combination string for the specified keys (for example, CTRL+SHIFT+A).
Bb225979.methods(en-us,office.12).gif LinesToPoints Converts a measurement from lines to points (1 line = 12 points). Returns the converted measurement as a Single.
Bb225979.methods(en-us,office.12).gif ListCommands Creates a new document and then inserts a table of Word commands along with their associated shortcut keys and menu assignments.
Bb225979.methods(en-us,office.12).gif LoadMasterList Loads a bibliography source file.
Bb225979.methods(en-us,office.12).gif LookupNameProperties Looks up a name in the global address book list and displays the Properties dialog box, which includes information about the specified name.
Bb225979.methods(en-us,office.12).gif MergeDocuments Compares two documents and returns a Document object that represents the document that contains the differences between the two documents, marked using tracked changes.
Bb225979.methods(en-us,office.12).gif MillimetersToPoints Converts a measurement from millimeters to points (1 mm = 2.85 points). Returns the converted measurement as a Single.
Bb225979.methods(en-us,office.12).gif MountVolume You have requested Help for a Visual Basic keyword used only on the Macintosh. For information about the MountVolume method of the Application object, consult the language reference Help included with Microsoft Office Macintosh Edition.
Bb225979.methods(en-us,office.12).gif Move Positions a task window or the active document window.
Bb225979.methods(en-us,office.12).gif NewWindow Opens a new window with the same document as the specified window. Returns a Window object.
Bb225979.methods(en-us,office.12).gif NextLetter You have requested Help for a Visual Basic keyword used only on the Macintosh. For information about the NextLetter method of the Application object, consult the language reference Help included with Microsoft Office Macintosh Edition.
Bb225979.methods(en-us,office.12).gif OnTime Starts a background timer that runs a macro at a specified time.
Bb225979.methods(en-us,office.12).gif OrganizerCopy Copies the specified AutoText entry, toolbar, style, or macro project item from the source document or template to the destination document or template.
Bb225979.methods(en-us,office.12).gif OrganizerDelete Deletes the specified style, AutoText entry, toolbar, or macro project item from a document or template.
Bb225979.methods(en-us,office.12).gif OrganizerRename Renames the specified style, AutoText entry, toolbar, or macro project item in a document or template.
Bb225979.methods(en-us,office.12).gif PicasToPoints Converts a measurement from picas to points (1 pica = 12 points). Returns the converted measurement as a Single.
Bb225979.methods(en-us,office.12).gif PixelsToPoints Converts a measurement from pixels to points. Returns the converted measurement as a Single.
Bb225979.methods(en-us,office.12).gif PointsToCentimeters Converts a measurement from points to centimeters (1 centimeter = 28.35 points). Returns the converted measurement as a Single.
Bb225979.methods(en-us,office.12).gif PointsToInches Converts a measurement from points to inches (1 inch = 72 points). Returns the converted measurement as a Single.
Bb225979.methods(en-us,office.12).gif PointsToLines Converts a measurement from points to lines (1 line = 12 points). Returns the converted measurement as a Single.
Bb225979.methods(en-us,office.12).gif PointsToMillimeters Converts a measurement from points to millimeters (1 millimeter = 2.835 points). Returns the converted measurement as a Single.
Bb225979.methods(en-us,office.12).gif PointsToPicas Converts a measurement from points to picas (1 pica = 12 points). Returns the converted measurement as a Single.
Bb225979.methods(en-us,office.12).gif PointsToPixels Converts a measurement from points to pixels. Returns the converted measurement as a Single.
Bb225979.methods(en-us,office.12).gif PrintOut Prints all or part of the specified document.
Bb225979.methods(en-us,office.12).gif ProductCode Returns the Microsoft Word globally unique identifier (GUID) as a String.
Bb225979.methods(en-us,office.12).gif PutFocusInMailHeader Places the insertion point in the To line of the mail header if the document in the active window is an e-mail document.
Bb225979.methods(en-us,office.12).gif Quit Quits Microsoft Office Word and optionally saves or routes the open documents.
Bb225979.methods(en-us,office.12).gif Repeat Repeats the most recent editing action one or more times. Returns True if the commands were repeated successfully.
Bb225979.methods(en-us,office.12).gif ResetIgnoreAll Clears the list of words that were previously ignored during a spelling check.
Bb225979.methods(en-us,office.12).gif Resize Sizes the Word application window or the specified task window.
Bb225979.methods(en-us,office.12).gif Run Runs a Visual Basic macro.
Bb225979.methods(en-us,office.12).gif ScreenRefresh Updates the display on the monitor with the current information in the video memory buffer.
Bb225979.methods(en-us,office.12).gif SetDefaultTheme Sets a default theme for Microsoft Word to use with new documents, e-mail messages, or Web pages.
Bb225979.methods(en-us,office.12).gif ShowClipboard Displays the Clipboard task pane.
Bb225979.methods(en-us,office.12).gif ShowMe Displays the Office Assistant or the Help window when there is more information available.
Bb225979.methods(en-us,office.12).gif SubstituteFont Sets font-mapping options.
Bb225979.methods(en-us,office.12).gif ToggleKeyboard Switches the keyboard language setting between right-to-left and left-to-right languages.

Properties

 NameDescription
Bb225979.properties(en-us,office.12).gif ActiveDocument Returns a Document object that represents the active document (the document with the focus). If there are no documents open, an error occurs. Read-only.
Bb225979.properties(en-us,office.12).gif ActiveEncryptionSession Returns a Long that represents the encryption session associated with the active document. Read-only.
Bb225979.properties(en-us,office.12).gif ActivePrinter Returns or sets the name of the active printer. Read/write String.
Bb225979.properties(en-us,office.12).gif ActiveWindow Returns a Window object that represents the active window (the window with the focus). If there are no windows open, an error occurs. Read-only.
Bb225979.properties(en-us,office.12).gif AddIns Returns an AddIns collection that represents all available add-ins, regardless of whether they're currently loaded. Read-only.
Bb225979.properties(en-us,office.12).gif AnswerWizard Returns an AnswerWizard object that contains the files used by the online Help search engine.
Bb225979.properties(en-us,office.12).gif Application Returns an Application object that represents the Microsoft Word application.
Bb225979.properties(en-us,office.12).gif ArbitraryXMLSupportAvailable Returns a Boolean that represents whether Microsoft Word accepts custom XML schemas. True indicates that Word accepts custom XML schemas.
Bb225979.properties(en-us,office.12).gif Assistance Returns an Assistance object that represents the Microsoft Office Help Viewer. Read-only.
Bb225979.properties(en-us,office.12).gif Assistant Returns an Assistant object that represents the Microsoft Office Assistant.
Bb225979.properties(en-us,office.12).gif AutoCaptions Returns an AutoCaptions collection that represents the captions that are automatically added when items such as tables and pictures are inserted into a document. Read-only.
Bb225979.properties(en-us,office.12).gif AutoCorrect Returns an AutoCorrect object that contains the current AutoCorrect options, entries, and exceptions. Read-only.
Bb225979.properties(en-us,office.12).gif AutoCorrectEmail Returns an AutoCorrect object that represents automatic corrections made to e-mail messages.
Bb225979.properties(en-us,office.12).gif AutomationSecurity Returns or sets an MsoAutomationSecurity constant that represents the security setting Microsoft Word uses when programmatically opening files.
Bb225979.properties(en-us,office.12).gif BackgroundPrintingStatus Returns the number of print jobs in the background printing queue. Read-only Long.
Bb225979.properties(en-us,office.12).gif BackgroundSavingStatus Returns the number of files queued up to be saved in the background. Read-only Long.
Bb225979.properties(en-us,office.12).gif Bibliography Returns a Bibliography object that represents the bibliography references sources stored in Microsoft Office Word. Read-only.
Bb225979.properties(en-us,office.12).gif BrowseExtraFileTypes Set this property to "text/html" to allow hyperlinked HTML files to be opened in Microsoft Word (instead of the default Internet browser). Read/write String.
Bb225979.properties(en-us,office.12).gif Browser Returns a Browser object that represents the Select Browse Object tool on the vertical scroll bar. Read-only.
Bb225979.properties(en-us,office.12).gif Build Returns the version and build number of the Word application. Read-only String.
Bb225979.properties(en-us,office.12).gif CapsLock True if the CAPS LOCK key is turned on. Read-only Boolean.
Bb225979.properties(en-us,office.12).gif Caption Returns or sets the text displayed in the Title bar of the application window. Read/write String.
Bb225979.properties(en-us,office.12).gif CaptionLabels Returns a CaptionLabels collection that represents all the available caption labels. Read-only.
Bb225979.properties(en-us,office.12).gif CheckLanguage True if Microsoft Word automatically detects the language you are using as you type. Read/write Boolean.
Bb225979.properties(en-us,office.12).gif COMAddIns Returns a reference to the COMAddIns collection that represents all the Component Object Model (COM) add-ins currently loaded in Microsoft Word.
Bb225979.properties(en-us,office.12).gif CommandBars Returns a CommandBars collection that represents the menu bar and all the toolbars in Microsoft Word.
Bb225979.properties(en-us,office.12).gif Creator Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long.
Bb225979.properties(en-us,office.12).gif CustomDictionaries Returns a Dictionaries object that represents the collection of active custom dictionaries. Read-only.
Bb225979.properties(en-us,office.12).gif CustomizationContext Returns or sets a Template or Document object that represents the template or document in which changes to menu bars, toolbars, and key bindings are stored. Read/write.
Bb225979.properties(en-us,office.12).gif DefaultLegalBlackline True for Microsoft Word to compare and merge documents using the Legal blackline option in the Compare and Merge Documents dialog box. Read/write Boolean.
Bb225979.properties(en-us,office.12).gif DefaultSaveFormat Returns or sets the default format that will appear in the Save as type box in the Save As dialog box. Read/write String.
Bb225979.properties(en-us,office.12).gif DefaultTableSeparator Returns or sets the single character used to separate text into cells when text is converted to a table. Read/write String.
Bb225979.properties(en-us,office.12).gif Dialogs Returns a Dialogs collection that represents all the built-in dialog boxes in Word.Read-only.
Bb225979.properties(en-us,office.12).gif DisplayAlerts Returns or sets the way certain alerts and messages are handled while a macro is running. Read/write WdAlertLevel.
Bb225979.properties(en-us,office.12).gif DisplayAutoCompleteTips True if Word displays tips that suggest text for completing words, dates, or phrases as you type. Read/write Boolean.
Bb225979.properties(en-us,office.12).gif DisplayDocumentInformationPanel Returns or sets a Boolean that represents whether the document properties panel is displayed. Read/write.
Bb225979.properties(en-us,office.12).gif DisplayRecentFiles True if the names of recently used files are displayed on the File menu. Read/write Boolean.
Bb225979.properties(en-us,office.12).gif DisplayScreenTips True if comments, footnotes, endnotes, and hyperlinks are displayed as tips. Text marked as having comments is highlighted. Read/write Boolean.
Bb225979.properties(en-us,office.12).gif DisplayScrollBars True if Word displays a scroll bar in at least one document window. False if there are no scroll bars displayed in any window. Read/write Boolean.
Bb225979.properties(en-us,office.12).gif Documents Returns a Documents collection that represents all the open documents. Read-only.
Bb225979.properties(en-us,office.12).gif DontResetInsertionPointProperties Returns or sets a Boolean that represents whether Microsoft Office Word maintains the formatting properties of the text at that position of the Insertion Point after running other code. Read/write.
Bb225979.properties(en-us,office.12).gif EmailOptions Returns an EmailOptions object that represents the global preferences for e-mail authoring. Read-only.
Bb225979.properties(en-us,office.12).gif EmailTemplate Returns or sets a String that represents the document template to use when sending e-mail messages. Read/write.
Bb225979.properties(en-us,office.12).gif EnableCancelKey Returns or sets the way that Word handles CTRL+BREAK user interruptions. Read/write WdEnableCancelKey.
Bb225979.properties(en-us,office.12).gif FeatureInstall Returns or sets how Microsoft Word handles calls to methods and properties that require features not yet installed. Read/write MsoReatureInstall.
Bb225979.properties(en-us,office.12).gif FileConverters Returns a FileConverters collection that represents all the file converters available to Microsoft Office Word. Read-only.
Bb225979.properties(en-us,office.12).gif FileDialog Returns a FileDialog object which represents a single instance of a file dialog box.
Bb225979.properties(en-us,office.12).gif FindKey Returns a KeyBinding object that represents the specified key combination. Read-only.
Bb225979.properties(en-us,office.12).gif FocusInMailHeader True if the insertion point is in an e-mail header field (the To: field, for example). Read-only Boolean.
Bb225979.properties(en-us,office.12).gif FontNames Returns a FontNames object that includes the names of all the available fonts. Read-only.
Bb225979.properties(en-us,office.12).gif HangulHanjaDictionaries Returns a HangulHanjaConversionDictionaries collection that represents all the active custom conversion dictionaries.
Bb225979.properties(en-us,office.12).gif Height Returns or sets the height of the active document window. Read/write Long.
Bb225979.properties(en-us,office.12).gif International Returns information about the current country/region and international settings. Read-only Variant.
Bb225979.properties(en-us,office.12).gif IsObjectValid True if the specified variable that references an object is valid. Read-only Boolean.
Bb225979.properties(en-us,office.12).gif KeyBindings Returns a KeyBindings collection that represents customized key assignments, which include a key code, a key category, and a command.
Bb225979.properties(en-us,office.12).gif KeysBoundTo Returns a KeysBoundTo object that represents all the key combinations assigned to the specified item.
Bb225979.properties(en-us,office.12).gif LandscapeFontNames Returns a FontNames object that includes the names of all the available landscape fonts.
Bb225979.properties(en-us,office.12).gif Language Returns an MsoLanguageID constant that represents the language selected for the Microsoft Word user interface.MsoLanguageID can be one of these MsoLanguageID constants.
Bb225979.properties(en-us,office.12).gif Languages Returns a Languages collection that represents the proofing languages listed in the Language dialog box (on the Tools menu, click Language, and then click Set Language).
Bb225979.properties(en-us,office.12).gif LanguageSettings Returns a LanguageSettings object, which contains information about the language settings in Microsoft Word.
Bb225979.properties(en-us,office.12).gif Left Returns or sets a Long that represents the horizontal position of the active document, measured in points. Read/write.
Bb225979.properties(en-us,office.12).gif ListGalleries Returns a ListGalleries collection that represents the three list template galleries.
Bb225979.properties(en-us,office.12).gif MacroContainer Returns a Template or Document object that represents the template or document in which the module that contains the running procedure is stored.
Bb225979.properties(en-us,office.12).gif MailingLabel Returns a MailingLabel object that represents a mailing label.
Bb225979.properties(en-us,office.12).gif MailMessage Returns a MailMessage object that represents the active e-mail message.
Bb225979.properties(en-us,office.12).gif MailSystem Returns the mail system (or systems) installed on the host computer. Read-only WdMailSystem.
Bb225979.properties(en-us,office.12).gif MAPIAvailable True if MAPI is installed. Read-only Boolean.
Bb225979.properties(en-us,office.12).gif MathCoprocessorAvailable True if a math coprocessor is installed and available to Microsoft Word. Read-only Boolean.
Bb225979.properties(en-us,office.12).gif MouseAvailable True if there is a mouse available for the system. Read-only Boolean.
Bb225979.properties(en-us,office.12).gif Name Returns the name of the specified object. Read-only String.
Bb225979.properties(en-us,office.12).gif NewDocument Returns a NewFile object that represents a document listed on the New Document task pane.
Bb225979.properties(en-us,office.12).gif NormalTemplate Returns a Template object that represents the Normal template.
Bb225979.properties(en-us,office.12).gif NumLock Returns the state of the NUM LOCK key. True if the keys on the numeric keypad insert numbers, False if the keys move the insertion point. Read-only Boolean.
Bb225979.properties(en-us,office.12).gif OMathAutoCorrect Returns an OMathAutoCorrect object that represents the auto correct entries for equations. Read-only.
Bb225979.properties(en-us,office.12).gif OpenAttachmentsInFullScreen Returns or sets a Boolean that represents whether Microsoft Office Word opens e-mail attachments in Reading mode. Read/write.
Bb225979.properties(en-us,office.12).gif Options Returns an Options object that represents application settings in Microsoft Word.
Bb225979.properties(en-us,office.12).gif Parent Returns an Object that represents the parent object of the specified Application object.
Bb225979.properties(en-us,office.12).gif Path Returns the disk or Web path to the specified object. Read-only String.
Bb225979.properties(en-us,office.12).gif PathSeparator Returns the character used to separate folder names. This property returns a backslash (\). Read-only String.
Bb225979.properties(en-us,office.12).gif PortraitFontNames Returns a FontNames object that includes the names of all the available portrait fonts.
Bb225979.properties(en-us,office.12).gif PrintPreview True if print preview is the current view. Read/write Boolean.
Bb225979.properties(en-us,office.12).gif RecentFiles Returns a RecentFiles collection that represents the most recently accessed files.
Bb225979.properties(en-us,office.12).gif RestrictLinkedStyles Returns or sets a Boolean that represents whether Microsoft Office Word allows linked styles. Read/write.
Bb225979.properties(en-us,office.12).gif ScreenUpdating True if screen updating is turned on. Read/write Boolean.
Bb225979.properties(en-us,office.12).gif Selection Returns the Selection object that represents a selected range or the insertion point. Read-only.
Bb225979.properties(en-us,office.12).gif ShowStartupDialog True to display the Task Pane when starting Microsoft Word. Read/write Boolean.
Bb225979.properties(en-us,office.12).gif ShowStylePreviews Returns or sets a Boolean that represents whether Microsoft Office Word shows a preview of the formatting for styles in the Styles dialog box. Read/write.
Bb225979.properties(en-us,office.12).gif ShowVisualBasicEditor True if the Visual Basic Editor window is visible. Read/write Boolean.
Bb225979.properties(en-us,office.12).gif ShowWindowsInTaskbar True displays opened documents in the task bar, the default Single Document Interface (SDI). False lists opened documents only in the Window menu, providing the appearance of a Multiple Document Interface (MDI). Read/write Boolean.
Bb225979.properties(en-us,office.12).gif SmartTagRecognizers Returns a SmartTagRecognizers collection for an application.
Bb225979.properties(en-us,office.12).gif SmartTagTypes Returns a SmartTagTypes collection that represents the smart tag types for the smart tag components installed in Microsoft Word.
Bb225979.properties(en-us,office.12).gif SpecialMode True if Microsoft Office Word is in a special mode (for example, CopyText mode, or MoveText mode). Read-only Boolean.
Bb225979.properties(en-us,office.12).gif StartupPath Returns or sets the complete path of the startup folder, excluding the final separator. Read/write String.
Bb225979.properties(en-us,office.12).gif StatusBar Displays the specified text in the status bar. Write-only String.
Bb225979.properties(en-us,office.12).gif SynonymInfo Returns a SynonymInfo object that contains information from the thesaurus on synonyms, antonyms, or related words and expressions for the specified word or phrase.
Bb225979.properties(en-us,office.12).gif System Returns a System object, which can be used to return system-related information and perform system-related tasks.
Bb225979.properties(en-us,office.12).gif TaskPanes Returns a TaskPanes collection that represents the most commonly performed tasks in Microsoft Word.
Bb225979.properties(en-us,office.12).gif Tasks Returns a Tasks collection that represents all the applications that are running.
Bb225979.properties(en-us,office.12).gif Templates Returns a Templates collection that represents all the available templates—global templates and those attached to open documents.
Bb225979.properties(en-us,office.12).gif Top Returns or sets the vertical position of the active document. Read/write Long.
Bb225979.properties(en-us,office.12).gif UsableHeight Returns the maximum height (in points) to which you can set the height of a Microsoft Word document window. Read-only Long.
Bb225979.properties(en-us,office.12).gif UsableWidth Returns the maximum width (in points) to which you can set the width of a Microsoft Word document window. Read-only Long.
Bb225979.properties(en-us,office.12).gif UserAddress Returns or sets the user's mailing address. Read/write String.
Bb225979.properties(en-us,office.12).gif UserControl True if the document or application was created or opened by the user. Read-only Boolean.
Bb225979.properties(en-us,office.12).gif UserInitials Returns or sets the user's initials, which Microsoft Word uses to construct comment marks. Read/write String.
Bb225979.properties(en-us,office.12).gif UserName Returns or sets the user's name, which is used on envelopes and for the Author document property. Read/write String.
Bb225979.properties(en-us,office.12).gif VBE Returns a VBE object that represents the Visual Basic Editor.
Bb225979.properties(en-us,office.12).gif Version Returns the Microsoft Word version number. Read-only String.
Bb225979.properties(en-us,office.12).gif Visible True if the specified object is visible. Read/write Boolean.
Bb225979.properties(en-us,office.12).gif Width Returns or sets the width of the application window, in points. Read/write Long.
Bb225979.properties(en-us,office.12).gif Windows Returns a Windows collection that represents all document windows. Read-only.
Bb225979.properties(en-us,office.12).gif WindowState Returns or sets the state of the specified document window or task window. Read/write WdWindowState.
Bb225979.properties(en-us,office.12).gif WordBasic Returns an automation object (Word.Basic) that includes methods for all the WordBasic statements and functions available in Word version 6.0 and Word for Windows 95. Read-only.
Bb225979.properties(en-us,office.12).gif XMLNamespaces Returns an XMLNamespaces collection that represents the XML schemas in the Schema Library.

Events

 NameDescription
Bb225979.events(en-us,office.12).gif DocumentBeforeClose Occurs immediately before any open document closes.
Bb225979.events(en-us,office.12).gif DocumentBeforePrint Occurs before any open document is printed.
Bb225979.events(en-us,office.12).gif DocumentBeforeSave Occurs before any open document is saved.
Bb225979.events(en-us,office.12).gif DocumentChange Occurs when a new document is created, when an existing document is opened, or when another document is made the active document.
Bb225979.events(en-us,office.12).gif DocumentOpen Occurs when a document is opened.
Bb225979.events(en-us,office.12).gif DocumentSync Occurs when the local copy of a document that is part of a Document Workspace is synchronized with the copy on the server.
Bb225979.events(en-us,office.12).gif EPostageInsert Occurs when a user inserts electronic postage into a document.
Bb225979.events(en-us,office.12).gif EPostageInsertEx Occurs when a user inserts electronic postage into a document.
Bb225979.events(en-us,office.12).gif EPostagePropertyDialog Occurs when a user clicks the E-postage Properties (Envelopes and Labels dialog box) button or Print Electronic Postage toolbar button.
Bb225979.events(en-us,office.12).gif MailMergeAfterMerge Occurs after all records in a mail merge have merged successfully.
Bb225979.events(en-us,office.12).gif MailMergeAfterRecordMerge Occurs after each record in the data source successfully merges in a mail merge.
Bb225979.events(en-us,office.12).gif MailMergeBeforeMerge Occurs when a merge is executed before any records merge.
Bb225979.events(en-us,office.12).gif MailMergeBeforeRecordMerge Occurs as a merge is executed for the individual records in a merge.
Bb225979.events(en-us,office.12).gif MailMergeDataSourceLoad Occurs when the data source is loaded for a mail merge.
Bb225979.events(en-us,office.12).gif MailMergeDataSourceValidate Occurs when a user validates mail merge recipients by clicking Validate in the Mail Merge Recipients dialog box.
Bb225979.events(en-us,office.12).gif MailMergeDataSourceValidate2 Occurs when a user validates mail merge recipients by clicking the Validate addresses link button in the Mail Merge Recipients dialog box.
Bb225979.events(en-us,office.12).gif MailMergeWizardSendToCustom Occurs when the custom button is clicked during step six of the Mail Merge Wizard.
Bb225979.events(en-us,office.12).gif MailMergeWizardStateChange Occurs when a user changes from a specified step to a specified step in the Mail Merge Wizard.
Bb225979.events(en-us,office.12).gif NewDocument Occurs when a new document is created.
Bb225979.events(en-us,office.12).gif Quit Occurs when the user exits Microsoft Office Word.
Bb225979.events(en-us,office.12).gif WindowActivate Occurs when any document window is activated.
Bb225979.events(en-us,office.12).gif WindowBeforeDoubleClick Occurs when the editing area of a document window is double-clicked, before the default double-click action.
Bb225979.events(en-us,office.12).gif WindowBeforeRightClick Occurs when the editing area of a document window is right-clicked, before the default right-click action.
Bb225979.events(en-us,office.12).gif WindowDeactivate Occurs when any document window is deactivated.
Bb225979.events(en-us,office.12).gif WindowSelectionChange Occurs when the selection changes in the active document window.
Bb225979.events(en-us,office.12).gif WindowSize Occurs when the application window is resized or moved.
Bb225979.events(en-us,office.12).gif XMLSelectionChange Occurs when the parent XML node of the current selection changes.
Bb225979.events(en-us,office.12).gif XMLValidationError Occurs when there is a validation error in the document.


Community Additions

Show:
© 2014 Microsoft