Application Methods (Word)
Contribute to this content Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation. |
Methods
Name |
Description |
---|---|
Activates the specified object. |
|
Adds an entry to the address book. Each entry has values for one or more tag IDs. |
|
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. |
|
Returns a unique number for the specified key combination. |
|
Converts a measurement from centimeters to points (1 cm = 28.35 points). Returns the converted measurement as a Single. |
|
Sets the folder in which Word searches for documents. |
|
Checks a string for grammatical errors. Returns a Boolean to indicate whether the string contains grammatical errors. True if the string contains no errors. |
|
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. |
|
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. |
|
Compares two documents and returns a Document object that represents the document that contains the differences between the two documents, marked using tracked changes. |
|
Sends a command or series of commands to an application through the specified dynamic data exchange (DDE) channel. |
|
Opens a dynamic data exchange (DDE) channel to another application, and returns the channel number. |
|
Uses an open dynamic data exchange (DDE) channel to send data to an application. |
|
Uses an open dynamic data exchange (DDE) channel to request information from the receiving application, and returns the information as a String. |
|
Closes the specified dynamic data exchange (DDE) channel to another application. |
|
Closes all dynamic data exchange (DDE) channels opened by Microsoft Word. |
|
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. |
|
Returns an address from the default address book. |
|
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. |
|
Returns a SpellingSuggestions collection that represents the words suggested as spelling replacements for a given word. |
|
Moves the insertion point among the last three locations where editing occurred in the active document (the same as pressing SHIFT+F5). |
|
Moves the insertion point forward among the last three locations where editing occurred in the active document. |
|
Displays installed Help information. |
|
Converts a measurement from inches to points (1 inch = 72 points). Returns the converted measurement as a Single. |
|
Returns or sets the keyboard language and layout settings. |
|
Sets the keyboard language to a right-to-left language and the text entry direction to right-to-left. |
|
Sets the keyboard language to a left-to-right language and the text entry direction to left-to-right. |
|
Returns the key combination string for the specified keys (for example, CTRL+SHIFT+A). |
|
Converts a measurement from lines to points (1 line = 12 points). Returns the converted measurement as a Single. |
|
Creates a new document and then inserts a table of Word commands along with their associated shortcut keys and menu assignments. |
|
Loads a bibliography source file. |
|
Looks up a name in the global address book list and displays the Properties dialog box, which includes information about the specified name. |
|
Compares two documents and returns a Document object that represents the document that contains the differences between the two documents, marked using tracked changes. |
|
Converts a measurement from millimeters to points (1 mm = 2.85 points). Returns the converted measurement as a Single. |
|
Positions a task window or the active document window. |
|
Opens a new window with the same document as the specified window. Returns a Window object. |
|
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. |
|
Starts a background timer that runs a macro at a specified time. |
|
Copies the specified AutoText entry, toolbar, style, or macro project item from the source document or template to the destination document or template. |
|
Deletes the specified style, AutoText entry, toolbar, or macro project item from a document or template. |
|
Renames the specified style, AutoText entry, toolbar, or macro project item in a document or template. |
|
Converts a measurement from picas to points (1 pica = 12 points). Returns the converted measurement as a Single. |
|
Converts a measurement from pixels to points. Returns the converted measurement as a Single. |
|
Converts a measurement from points to centimeters (1 centimeter = 28.35 points). Returns the converted measurement as a Single. |
|
Converts a measurement from points to inches (1 inch = 72 points). Returns the converted measurement as a Single. |
|
Converts a measurement from points to lines (1 line = 12 points). Returns the converted measurement as a Single. |
|
Converts a measurement from points to millimeters (1 millimeter = 2.835 points). Returns the converted measurement as a Single. |
|
Converts a measurement from points to picas (1 pica = 12 points). Returns the converted measurement as a Single. |
|
Converts a measurement from points to pixels. Returns the converted measurement as a Single. |
|
Prints all or part of the specified document. |
|
Returns the Microsoft Word globally unique identifier (GUID) as a String. |
|
Places the insertion point in the To line of the mail header if the document in the active window is an e-mail document. |
|
Quits Microsoft Word and optionally saves or routes the open documents. |
|
Repeats the most recent editing action one or more times. Returns True if the commands were repeated successfully. |
|
Clears the list of words that were previously ignored during a spelling check. |
|
Sizes the Word application window or the specified task window. |
|
Runs a Visual Basic macro. |
|
Updates the display on the monitor with the current information in the video memory buffer. |
|
Sets a default theme for Microsoft Word to use with new documents, e-mail messages, or Web pages. |
|
Displays the Clipboard task pane. |
|
Sets font-mapping options. |
|
Switches the keyboard language setting between right-to-left and left-to-right languages. |