Compartilhar via


Global Object Members

Word Developer Reference

Contains top-level properties and methods that do not need to be preceded by the Application property.

Methods

  Name Description
Bb243460.methods(en-us,office.12).gif BuildKeyCode Returns a unique number for the specified key combination.
Bb243460.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.
Bb243460.methods(en-us,office.12).gif ChangeFileOpenDirectory Sets the folder in which Word searches for documents.
Bb243460.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.
Bb243460.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), as described in the "Remarks" section. Returns the result as a String.
Bb243460.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.
Bb243460.methods(en-us,office.12).gif DDEInitiate Opens a dynamic data exchange (DDE) channel to another application, and returns the channel number.
Bb243460.methods(en-us,office.12).gif DDEPoke Uses an open dynamic data exchange (DDE) channel to send data to an application.
Bb243460.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.
Bb243460.methods(en-us,office.12).gif DDETerminate Closes the specified dynamic data exchange (DDE) channel to another application.
Bb243460.methods(en-us,office.12).gif DDETerminateAll Closes all dynamic data exchange (DDE) channels opened by Microsoft Office Word.
Bb243460.methods(en-us,office.12).gif GetSpellingSuggestions Returns a SpellingSuggestions collection that represents the words suggested as spelling replacements for a given word.
Bb243460.methods(en-us,office.12).gif Help Displays on-line Help information.
Bb243460.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.
Bb243460.methods(en-us,office.12).gif KeyString Returns the key combination string for the specified keys (for example, CTRL+SHIFT+A).
Bb243460.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.
Bb243460.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.
Bb243460.methods(en-us,office.12).gif NewWindow Opens a new window with the same document as the specified window. Returns a Window object.
Bb243460.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.
Bb243460.methods(en-us,office.12).gif PixelsToPoints Converts a measurement from pixels to points. Returns the converted measurement as a Single.
Bb243460.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.
Bb243460.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.
Bb243460.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.
Bb243460.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.
Bb243460.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.
Bb243460.methods(en-us,office.12).gif PointsToPixels Converts a measurement from points to pixels. Returns the converted measurement as a Single.
Bb243460.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.

Properties

  Name Description
Bb243460.properties(en-us,office.12).gif ActiveDocument Returns a Document object that represents the active document (the document with the focus). Read-only.
Bb243460.properties(en-us,office.12).gif ActivePrinter Returns or sets the name of the active printer. Read/write String.
Bb243460.properties(en-us,office.12).gif ActiveWindow Returns a Window object that represents the active window (the window with the focus). Read-only.
Bb243460.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.
Bb243460.properties(en-us,office.12).gif AnswerWizard Returns an AnswerWizard object that contains the files used by the online Help search engine.
Bb243460.properties(en-us,office.12).gif Application Returns an Application object that represents the Microsoft Word application.
Bb243460.properties(en-us,office.12).gif Assistant Returns an Assistant object that represents the Microsoft Office Assistant.
Bb243460.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.
Bb243460.properties(en-us,office.12).gif AutoCorrect Returns an AutoCorrect object that contains the current AutoCorrect options, entries, and exceptions. Read-only.
Bb243460.properties(en-us,office.12).gif AutoCorrectEmail Returns an AutoCorrect object that represents automatic corrections made to e-mail messages.
Bb243460.properties(en-us,office.12).gif CaptionLabels Returns a CaptionLabels collection that represents all the available caption labels. Read-only.
Bb243460.properties(en-us,office.12).gif CommandBars Returns a CommandBars collection that represents the menu bar and all the toolbars in Microsoft Word.
Bb243460.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.
Bb243460.properties(en-us,office.12).gif CustomDictionaries Returns a Dictionaries object that represents the collection of active custom dictionaries. Read-only.
Bb243460.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.
Bb243460.properties(en-us,office.12).gif Dialogs Returns a Dialogs collection that represents all the built-in dialog boxes in Word. Read-only.
Bb243460.properties(en-us,office.12).gif Documents Returns a Documents collection that represents all the open documents. Read-only.
Bb243460.properties(en-us,office.12).gif FileConverters Returns a FileConverters collection that represents all the file converters available to Microsoft Office Word. Read-only.
Bb243460.properties(en-us,office.12).gif FindKey Returns a KeyBinding object that represents the specified key combination. Read-only.
Bb243460.properties(en-us,office.12).gif FontNames Returns a FontNames object that includes the names of all the available fonts. Read-only.
Bb243460.properties(en-us,office.12).gif HangulHanjaDictionaries Returns a HangulHanjaConversionDictionaries collection that represents all the active custom conversion dictionaries.
Bb243460.properties(en-us,office.12).gif IsObjectValid True if the specified variable that references an object is valid. Read-only Boolean.
Bb243460.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.
Bb243460.properties(en-us,office.12).gif KeysBoundTo Returns a KeysBoundTo object that represents all the key combinations assigned to the specified item.
Bb243460.properties(en-us,office.12).gif LandscapeFontNames Returns a FontNames object that includes the names of all the available landscape fonts.
Bb243460.properties(en-us,office.12).gif Languages Returns a Languages collection that represents the proofing languages listed in the Language dialog box.
Bb243460.properties(en-us,office.12).gif LanguageSettings Returns a LanguageSettings object, which contains information about the language settings in Microsoft Word.
Bb243460.properties(en-us,office.12).gif ListGalleries Returns a ListGalleries collection that represents the three list template galleries (Bulleted, Numbered, and Outline Numbered).
Bb243460.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.
Bb243460.properties(en-us,office.12).gif Name Returns name of the specified object. Read-only String.
Bb243460.properties(en-us,office.12).gif NormalTemplate Returns a Template object that represents the Normal template.
Bb243460.properties(en-us,office.12).gif Options Returns an Options object that represents application settings in Microsoft Word.
Bb243460.properties(en-us,office.12).gif Parent Returns an Object that represents the parent object of the specified Global object.
Bb243460.properties(en-us,office.12).gif PortraitFontNames Returns a FontNames object that includes the names of all the available portrait fonts.
Bb243460.properties(en-us,office.12).gif PrintPreview True if print preview is the current view. Read/write Boolean.
Bb243460.properties(en-us,office.12).gif RecentFiles Returns a RecentFiles collection that represents the most recently accessed files.
Bb243460.properties(en-us,office.12).gif Selection Returns a Selection object that represents a selected range or the insertion point. Read-only.
Bb243460.properties(en-us,office.12).gif ShowVisualBasicEditor True if the Visual Basic Editor window is visible. Read/write Boolean.
Bb243460.properties(en-us,office.12).gif StatusBar Displays the specified text in the status bar. Write-only String.
Bb243460.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.
Bb243460.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.
Bb243460.properties(en-us,office.12).gif Tasks Returns a Tasks collection that represents all the applications that are running.
Bb243460.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.
Bb243460.properties(en-us,office.12).gif VBE Returns a VBE object that represents the Visual Basic Editor.
Bb243460.properties(en-us,office.12).gif Windows Returns a Windows collection that represents all open document windows. Read-only.
Bb243460.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.