Selection Selection Selection Interface

Definition

Represents the current selection in a window or pane.

public interface class Selection
[System.Runtime.InteropServices.Guid("00020975-0000-0000-C000-000000000046")]
public interface Selection
Public Interface Selection
Attributes

Remarks

A selection represents either a selected (or highlighted) area in the document, or it represents the insertion point if nothing in the document is selected. There can only be one Selection object per document window pane, and only one Selection object in the entire application can be active.

Use the Selection property to return the Selection object. If no object qualifier is used with the Selection property, Microsoft Word returns the selection from the active pane of the active document window.

The document doesn't have to be active to access its current selection.

Use the Text property to set or return the text in the current selection.

The Selection object has various methods and properties with which you can:

Use properties like Flags, Information[WdInformation], and Type to return information about the current selection.

Even when a selection is collapsed to an insertion point, it isn't necessarily empty. For example, the Text property will still return the character to the right of the insertion point; this character also appears in the Characters collection of the Selection object. However, calling methods like Cut() or Copy() from a collapsed selection will cause an error.

It's possible for the user to select a region in a document that doesn't represent contiguous text (for example, when using the ALT key with the mouse). Because the behavior of such a selection can be unpredictable, you may want to include a step in your code that checks the Type property of a selection before performing any operations on it. Similarly, selections that include table cells can also lead to unpredictable behavior. The Information[WdInformation] property will tell you if a selection is inside a table.

Because Range objects share many of the same methods and properties as Selection objects, using Range objects is preferable for manipulating a document when there isn't a reason to physically change the current selection.

Properties

Active Active Active

Determines if the selection in the specified window or pane is active.

Application Application Application

Returns a _Application object that represents the Microsoft Word application.

BookmarkID BookmarkID BookmarkID

Returns the number of the bookmark that encloses the beginning of the specified selection or 0 (zero) if there's no corresponding bookmark.

Bookmarks Bookmarks Bookmarks

Returns a Bookmarks collection that represents all the bookmarks in a selection.

Borders Borders Borders

Returns a Borders collection that represents all the borders for the specified object.

Cells Cells Cells

Returns a Cells collection that represents the table cells in a selection.

Characters Characters Characters

Returns a Characters collection that represents the characters in a selection.

ChildShapeRange ChildShapeRange ChildShapeRange

Returns a ShapeRange object representing the child shapes of a selection.

Columns Columns Columns

Returns a Columns collection that represents all the table columns in the selection.

ColumnSelectMode ColumnSelectMode ColumnSelectMode

Determines if column selection mode is active.

Comments Comments Comments

Returns a Comments collection that represents all the comments in the specified selection.

ContentControls ContentControls ContentControls

Returns a ContentControls collection that represents the content controls contained within a range. Read-only.

Creator Creator Creator

Returns a 32-bit integer that indicates the application in which the specified object was created.

Document Document Document

Returns a Document object associated with the specified selection.

Editors Editors Editors

Returns a Editors object that represents all the users authorized to modify a selection within a document.

End End End

Returns or sets the ending character position of a selection.

EndnoteOptions EndnoteOptions EndnoteOptions

Returns a EndnoteOptions object that represents the endnotes in a selection.

Endnotes Endnotes Endnotes

Returns a Endnotes collection that represents all the endnotes in a selection.

EnhMetaFileBits EnhMetaFileBits EnhMetaFileBits

Returns an Object that represents a picture representation of how a selection of text appears.

ExtendMode ExtendMode ExtendMode

Determines if Extend mode is active.

Fields Fields Fields

Returns a read-only Fields collection that represents all the fields in the selection.

Find Find Find

Returns a Find object that contains the criteria for a find operation.

FitTextWidth FitTextWidth FitTextWidth

Returns or sets the width (in the current measurement units) in which Microsoft Word fits the text in the current selection.

Flags Flags Flags

Returns or sets properties of the selection.

Font Font Font

Returns or sets a Font object that represents the character formatting of the specified object.

FootnoteOptions FootnoteOptions FootnoteOptions

Returns a FootnoteOptions object that represents the footnote properties in a selection.

Footnotes Footnotes Footnotes

Returns a Footnotes collection that represents all the footnotes in a selection.

FormattedText FormattedText FormattedText

Returns or sets a Range object that includes the formatted text in the specified selection.

FormFields FormFields FormFields

Returns a FormFields collection that represents all the form fields in the selection.

Frames Frames Frames

Returns a Frames collection that represents all the frames in a selection.

HasChildShapeRange HasChildShapeRange HasChildShapeRange

Determines if the selection contains child shapes.

HeaderFooter HeaderFooter HeaderFooter

Returns a HeaderFooter object for the specified selection.

HTMLDivisions HTMLDivisions HTMLDivisions

Returns a HTMLDivisions object that represents an HTML division in a Web document.

Hyperlinks Hyperlinks Hyperlinks

Returns a Hyperlinks collection that represents all the hyperlinks in the specified selection.

Information[WdInformation] Information[WdInformation] Information[WdInformation]

Returns information about the specified selection or range.

InlineShapes InlineShapes InlineShapes

Returns a InlineShapes collection that represents all the InlineShape objects in a selection.

IPAtEndOfLine IPAtEndOfLine IPAtEndOfLine

Determines if the insertion point is at the end of a line that wraps to the next line.

IsEndOfRowMark IsEndOfRowMark IsEndOfRowMark

Determines if the specified selection is collapsed and is located at the end-of-row mark in a table.

LanguageDetected LanguageDetected LanguageDetected

Returns or sets a value that specifies whether Microsoft Word has detected the language of the specified text.

LanguageID LanguageID LanguageID

Returns or sets the language for the specified object.

LanguageIDFarEast LanguageIDFarEast LanguageIDFarEast

Returns or sets an East Asian language for the specified object.

LanguageIDOther LanguageIDOther LanguageIDOther

Returns or sets the language for the specified object.

NoProofing NoProofing NoProofing

Determines if the spelling and grammar checker ignores the specified text.

OMaths OMaths OMaths

Returns an OMaths collection that represents the OMath objects within the current selection. Read-only.

Orientation Orientation Orientation

Returns or sets the orientation of text in a selection when the Text Direction feature is enabled.

PageSetup PageSetup PageSetup

Returns a PageSetup object that's associated with the specified selection.

ParagraphFormat ParagraphFormat ParagraphFormat

Returns or sets a ParagraphFormat object that represents the paragraph settings for the specified selection.

Paragraphs Paragraphs Paragraphs

Returns a Paragraphs collection that represents all the paragraphs in the specified selection.

Parent Parent Parent

Returns an object that represents the parent object of the specified object.

ParentContentControl ParentContentControl ParentContentControl

Returns a ContentControl object that represents the parent content control for the specified range. Read-only.

PreviousBookmarkID PreviousBookmarkID PreviousBookmarkID

Returns the number of the last bookmark that starts before or at the same place as the specified selection or returns 0 (zero) if there's no corresponding bookmark.

Range Range Range

Returns a Range object that represents the portion of a document that's contained in the specified object.

Rows Rows Rows

Returns a Rows collection that represents all the table rows in a selection.

Sections Sections Sections

Returns a Sections collection that represents the sections in the specified selection.

Sentences Sentences Sentences

Returns a Sentences collection that represents all the sentences in the selection.

Shading Shading Shading

Returns a Shading object that refers to the shading formatting for the specified object.

ShapeRange ShapeRange ShapeRange

Returns a ShapeRange collection that represents all the Shape objects in the specified range or selection.

SmartTags SmartTags SmartTags

Returns a SmartTags object that represents a smart tag in a document.

Start Start Start

Returns or sets the starting character position of a selection.

StartIsActive StartIsActive StartIsActive

Determines if the beginning of the selection is active.

StoryLength StoryLength StoryLength

Returns the number of characters in the story that contains the specified selection.

StoryType StoryType StoryType

Returns the story type for the specified selection.

Style Style Style

Returns or sets the style for the specified object.

Tables Tables Tables

Returns a Tables collection that represents all the tables in the specified selection.

Text Text Text

Returns or sets the text in the specified selection.

TopLevelTables TopLevelTables TopLevelTables

Returns a Tables collection that represents the tables at the outermost nesting level in the current selection.

Type Type Type

Returns the selection type.

WordOpenXML WordOpenXML WordOpenXML

Returns a String that represents the XML contained within the selection in the Microsoft Office Word Open XML format. Read-only.

Words Words Words

Returns a Words collection that represents all the words in a selection.

XML[Boolean] XML[Boolean] XML[Boolean]

Returns a String that represents the XML text in the specified object.

XMLNodes XMLNodes XMLNodes

This object, member, or enumeration is deprecated and is not intended to be used in your code.

XMLParentNode XMLParentNode XMLParentNode

This object, member, or enumeration is deprecated and is not intended to be used in your code.

Methods

BoldRun() BoldRun() BoldRun()

Adds the bold character format to or removes it from the current run.

Calculate() Calculate() Calculate()

Calculates a mathematical expression within a selection.

ClearCharacterAllFormatting() ClearCharacterAllFormatting() ClearCharacterAllFormatting()

Removes all character formatting (formatting applied either through character styles or manually applied formatting) from the selected text.

ClearCharacterDirectFormatting() ClearCharacterDirectFormatting() ClearCharacterDirectFormatting()

Removes character formatting (formatting that has been applied manually using the buttons on the Ribbon or through the dialog boxes) from the selected text.

ClearCharacterStyle() ClearCharacterStyle() ClearCharacterStyle()

Removes character formatting that has been applied through character styles from the selected text.

ClearFormatting() ClearFormatting() ClearFormatting()

Removes text and paragraph formatting from a selection.

ClearParagraphAllFormatting() ClearParagraphAllFormatting() ClearParagraphAllFormatting()

Removes all paragraph formatting (formatting applied either through paragraph styles or manually applied formatting) from the selected text.

ClearParagraphDirectFormatting() ClearParagraphDirectFormatting() ClearParagraphDirectFormatting()

Removes paragraph formatting that has been applied manually (using the buttons on the Ribbon or through the dialog boxes) from the selected text.

ClearParagraphStyle() ClearParagraphStyle() ClearParagraphStyle()

Removes paragraph formatting that has been applied through paragraph styles from the selected text.

Collapse(Object) Collapse(Object) Collapse(Object)

Collapses a selection to the starting or ending position.

ConvertToTable(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) ConvertToTable(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) ConvertToTable(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object)

Converts text within a selection to a table.

ConvertToTableOld(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) ConvertToTableOld(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) ConvertToTableOld(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object)

Reserved for internal use.

Copy() Copy() Copy()

Copies the specified object to the Clipboard.

CopyAsPicture() CopyAsPicture() CopyAsPicture()

Copies the specified object to the Clipboard.

CopyFormat() CopyFormat() CopyFormat()

Copies the character formatting of the first character in the selected text.

CreateAutoTextEntry(String, String) CreateAutoTextEntry(String, String) CreateAutoTextEntry(String, String)

Adds a new AutoTextEntry object to the AutoTextEntries collection, based on the current selection.

CreateTextbox() CreateTextbox() CreateTextbox()

Adds a default-size text box around the selection.

Cut() Cut() Cut()

Removes the specified object from the document and places it on the Clipboard.

Delete(Object, Object) Delete(Object, Object) Delete(Object, Object)

Deletes the specified number of characters or words.

DetectLanguage() DetectLanguage() DetectLanguage()

Analyzes the specified text to determine the language that it is written in.

EndKey(Object, Object) EndKey(Object, Object) EndKey(Object, Object)

Moves or extends the selection to the end of the specified unit.

EndOf(Object, Object) EndOf(Object, Object) EndOf(Object, Object)

Moves or extends the ending character position of a selection to the end of the nearest specified text unit.

EscapeKey() EscapeKey() EscapeKey()

Cancels a mode such as extend or column select (equivalent to pressing the ESC key).

Expand(Object) Expand(Object) Expand(Object)

Expands the specified selection.

ExportAsFixedFormat(String, WdExportFormat, Boolean, WdExportOptimizeFor, Boolean, WdExportItem, Boolean, Boolean, WdExportCreateBookmarks, Boolean, Boolean, Boolean, Object) ExportAsFixedFormat(String, WdExportFormat, Boolean, WdExportOptimizeFor, Boolean, WdExportItem, Boolean, Boolean, WdExportCreateBookmarks, Boolean, Boolean, Boolean, Object) ExportAsFixedFormat(String, WdExportFormat, Boolean, WdExportOptimizeFor, Boolean, WdExportItem, Boolean, Boolean, WdExportCreateBookmarks, Boolean, Boolean, Boolean, Object)

Saves the current selection as PDF or XPS format. .

Extend(Object) Extend(Object) Extend(Object)

Turns extend mode on, or extends the selection to the next larger unit of text if Extend mode is already on.

GoTo(Object, Object, Object, Object) GoTo(Object, Object, Object, Object) GoTo(Object, Object, Object, Object)

Moves the insertion point to the character position immediately preceding the specified item.

GoToEditableRange(Object) GoToEditableRange(Object) GoToEditableRange(Object)

Returns a Range object that represents an area of a document that can be modified by the specified user or group of users.

GoToNext(WdGoToItem) GoToNext(WdGoToItem) GoToNext(WdGoToItem)

Returns a Range object that refers to the start position of the next item or location specified by the What argument.

GoToPrevious(WdGoToItem) GoToPrevious(WdGoToItem) GoToPrevious(WdGoToItem)

Returns a Range object that refers to the start position of the previous item or a specified location.

HomeKey(Object, Object) HomeKey(Object, Object) HomeKey(Object, Object)

Moves or extends the selection to the beginning of the specified unit.

InRange(Range) InRange(Range) InRange(Range)

Determines if the selection to which the method is applied is contained in a specified range.

InsertAfter(String) InsertAfter(String) InsertAfter(String)

Inserts the specified text at the end of a selection.

InsertBefore(String) InsertBefore(String) InsertBefore(String)

Inserts the specified text before the specified selection.

InsertBreak(Object) InsertBreak(Object) InsertBreak(Object)

Inserts a page, column, or section break.

InsertCaption(Object, Object, Object, Object, Object) InsertCaption(Object, Object, Object, Object, Object) InsertCaption(Object, Object, Object, Object, Object)

Inserts a caption immediately preceding or following the specified selection.

InsertCaptionXP(Object, Object, Object, Object) InsertCaptionXP(Object, Object, Object, Object) InsertCaptionXP(Object, Object, Object, Object)

Reserved for internal use.

InsertCells(Object) InsertCells(Object) InsertCells(Object)

Adds cells to an existing table.

InsertColumns() InsertColumns() InsertColumns()

Inserts columns to the left of the column that contains the selection.

InsertColumnsRight() InsertColumnsRight() InsertColumnsRight()

Inserts columns to the right of the current selection.

InsertCrossReference(Object, WdReferenceKind, Object, Object, Object, Object, Object) InsertCrossReference(Object, WdReferenceKind, Object, Object, Object, Object, Object) InsertCrossReference(Object, WdReferenceKind, Object, Object, Object, Object, Object)

Inserts a cross-reference to a heading, bookmark, footnote, or endnote, or to an item for which a caption label is defined (for example, an equation, figure, or table).

InsertCrossReference_2002(Object, WdReferenceKind, Object, Object, Object) InsertCrossReference_2002(Object, WdReferenceKind, Object, Object, Object) InsertCrossReference_2002(Object, WdReferenceKind, Object, Object, Object)

Reserved for internal use.

InsertDateTime(Object, Object, Object, Object, Object) InsertDateTime(Object, Object, Object, Object, Object) InsertDateTime(Object, Object, Object, Object, Object)

Inserts the current date or time, or both, either as text or as a TIME field.

InsertDateTimeOld(Object, Object, Object) InsertDateTimeOld(Object, Object, Object) InsertDateTimeOld(Object, Object, Object)

Reserved for internal use.

InsertFile(String, Object, Object, Object, Object) InsertFile(String, Object, Object, Object, Object) InsertFile(String, Object, Object, Object, Object)

Inserts all or part of the specified file.

InsertFormula(Object, Object) InsertFormula(Object, Object) InsertFormula(Object, Object)

Inserts an = (Formula) field that contains a formula at the selection.

InsertNewPage() InsertNewPage() InsertNewPage()

Inserts a new page at the position of the Insertion Point.

InsertParagraph() InsertParagraph() InsertParagraph()

Replaces the specified selection with a new paragraph.

InsertParagraphAfter() InsertParagraphAfter() InsertParagraphAfter()

Inserts a paragraph mark after a selection.

InsertParagraphBefore() InsertParagraphBefore() InsertParagraphBefore()

Inserts a new paragraph before the specified selection.

InsertRows(Object) InsertRows(Object) InsertRows(Object)

Inserts the specified number of new rows above the row that contains the selection.

InsertRowsAbove(Object) InsertRowsAbove(Object) InsertRowsAbove(Object)

Inserts rows above the current selection.

InsertRowsBelow(Object) InsertRowsBelow(Object) InsertRowsBelow(Object)

Inserts rows below the current selection.

InsertStyleSeparator() InsertStyleSeparator() InsertStyleSeparator()

Inserts a special hidden paragraph mark that allows Microsoft Word to join paragraphs formatted using different paragraph styles.

InsertSymbol(Int32, Object, Object, Object) InsertSymbol(Int32, Object, Object, Object) InsertSymbol(Int32, Object, Object, Object)

Inserts a symbol in place of the specified selection.

InsertXML(String, Object) InsertXML(String, Object) InsertXML(String, Object)

Inserts the specified XML text into the specified selection.

InStory(Range) InStory(Range) InStory(Range)

Determines if the selection to which this method is applied is in the same story as the specified range.

IsEqual(Range) IsEqual(Range) IsEqual(Range)

Determines if the selection to which this method is applied is equal to the range specified by the Range argument.

ItalicRun() ItalicRun() ItalicRun()

Adds the italic character format to or removes it from the current run.

LtrPara() LtrPara() LtrPara()

Sets the reading order and alignment of the specified paragraphs to left-to-right.

LtrRun() LtrRun() LtrRun()

Sets the reading order and alignment of the specified run to left-to-right.

Move(Object, Object) Move(Object, Object) Move(Object, Object)

Collapses the specified selection to its start or end position and then moves the collapsed object by the specified number of units.

MoveDown(Object, Object, Object) MoveDown(Object, Object, Object) MoveDown(Object, Object, Object)

Moves the selection down and returns the number of units it's been moved.

MoveEnd(Object, Object) MoveEnd(Object, Object) MoveEnd(Object, Object)

Moves the ending character position of a selection.

MoveEndUntil(Object, Object) MoveEndUntil(Object, Object) MoveEndUntil(Object, Object)

Moves the end position of the specified selection until any of the specified characters are found in the document.

MoveEndWhile(Object, Object) MoveEndWhile(Object, Object) MoveEndWhile(Object, Object)

Moves the ending character position of a selection while any of the specified characters are found in the document.

MoveLeft(Object, Object, Object) MoveLeft(Object, Object, Object) MoveLeft(Object, Object, Object)

Moves the selection to the left and returns the number of units it's been moved.

MoveRight(Object, Object, Object) MoveRight(Object, Object, Object) MoveRight(Object, Object, Object)

Moves the selection to the right and returns the number of units it's been moved.

MoveStart(Object, Object) MoveStart(Object, Object) MoveStart(Object, Object)

Moves the start position of the specified selection.

MoveStartUntil(Object, Object) MoveStartUntil(Object, Object) MoveStartUntil(Object, Object)

Moves the start position of the specified selection until one of the specified characters is found in the document.

MoveStartWhile(Object, Object) MoveStartWhile(Object, Object) MoveStartWhile(Object, Object)

Moves the start position of the specified selection while any of the specified characters are found in the document.

MoveUntil(Object, Object) MoveUntil(Object, Object) MoveUntil(Object, Object)

Moves the specified selection until one of the specified characters is found in the document.

MoveUp(Object, Object, Object) MoveUp(Object, Object, Object) MoveUp(Object, Object, Object)

Moves the selection up and returns the number of units it's been moved.

MoveWhile(Object, Object) MoveWhile(Object, Object) MoveWhile(Object, Object)

Moves the specified selection while any of the specified characters are found in the document.

Next(Object, Object) Next(Object, Object) Next(Object, Object)

Returns a Range object that represents the specified unit relative to the specified selection.

NextField() NextField() NextField()

Selects the next field.

NextRevision(Object) NextRevision(Object) NextRevision(Object)

Locates and returns the next tracked change as a Revision object.

NextSubdocument() NextSubdocument() NextSubdocument()

Moves the selection to the next subdocument.

Paste() Paste() Paste()

Inserts the contents of the Clipboard at the specified selection.

PasteAndFormat(WdRecoveryType) PasteAndFormat(WdRecoveryType) PasteAndFormat(WdRecoveryType)

Pastes the selected table cells and formats them as specified.

PasteAppendTable() PasteAppendTable() PasteAppendTable()

Merges pasted cells into an existing table by inserting the pasted rows between the selected rows.

PasteAsNestedTable() PasteAsNestedTable() PasteAsNestedTable()

Pastes a cell or group of cells as a nested table into the selected range.

PasteExcelTable(Boolean, Boolean, Boolean) PasteExcelTable(Boolean, Boolean, Boolean) PasteExcelTable(Boolean, Boolean, Boolean)

Pastes and formats a Microsoft Excel table.

PasteFormat() PasteFormat() PasteFormat()

Applies formatting copied with the CopyFormat() method to the selection.

PasteSpecial(Object, Object, Object, Object, Object, Object, Object) PasteSpecial(Object, Object, Object, Object, Object, Object, Object) PasteSpecial(Object, Object, Object, Object, Object, Object, Object)

Inserts the contents of the Clipboard.

Previous(Object, Object) Previous(Object, Object) Previous(Object, Object)

Returns a Range object relative to the specified selection.

PreviousField() PreviousField() PreviousField()

Selects the previous field.

PreviousRevision(Object) PreviousRevision(Object) PreviousRevision(Object)

Locates and returns the previous tracked change as a Revision object.

PreviousSubdocument() PreviousSubdocument() PreviousSubdocument()

Moves the selection to the previous subdocument.

ReadingModeGrowFont() ReadingModeGrowFont() ReadingModeGrowFont()

Increases the size of the displayed text one point size when the document is displayed in Reading mode.

ReadingModeShrinkFont() ReadingModeShrinkFont() ReadingModeShrinkFont()

Decreases the size of the displayed text one point size when the document is displayed in Reading mode.

RtlPara() RtlPara() RtlPara()

Sets the reading order and alignment of the specified paragraphs to right-to-left.

RtlRun() RtlRun() RtlRun()

Sets the reading order and alignment of the specified run to right-to-left.

Select() Select() Select()

Selects the specified object.

SelectCell() SelectCell() SelectCell()

Selects the entire cell containing the current selection.

SelectColumn() SelectColumn() SelectColumn()

Selects the column that contains the insertion point, or selects all columns that contain the selection.

SelectCurrentAlignment() SelectCurrentAlignment() SelectCurrentAlignment()

Extends the selection forward until text with a different paragraph alignment is encountered.

SelectCurrentColor() SelectCurrentColor() SelectCurrentColor()

Extends the selection forward until text with a different color is encountered.

SelectCurrentFont() SelectCurrentFont() SelectCurrentFont()

Extends the selection forward until text in a different font or font size is encountered.

SelectCurrentIndent() SelectCurrentIndent() SelectCurrentIndent()

Extends the selection forward until text with different left or right paragraph indents is encountered.

SelectCurrentSpacing() SelectCurrentSpacing() SelectCurrentSpacing()

Extends the selection forward until a paragraph with different line spacing is encountered.

SelectCurrentTabs() SelectCurrentTabs() SelectCurrentTabs()

Extends the selection forward until a paragraph with different tab stops is encountered.

SelectRow() SelectRow() SelectRow()

Selects the row that contains the insertion point, or selects all rows that contain the selection.

SetRange(Int32, Int32) SetRange(Int32, Int32) SetRange(Int32, Int32)

Sets the starting and ending character positions for the selection.

Shrink() Shrink() Shrink()

Shrinks the selection to the next smaller unit of text.

ShrinkDiscontiguousSelection() ShrinkDiscontiguousSelection() ShrinkDiscontiguousSelection()

Deselects all but the most recently selected text when a selection contains multiple, unconnected selections.

Sort(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) Sort(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) Sort(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object)

Sorts the paragraphs in the specified selection.

Sort2000(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) Sort2000(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) Sort2000(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object)

Reserved for internal use.

SortAscending() SortAscending() SortAscending()

Sorts paragraphs or table rows in ascending alphanumeric order.

SortByHeadings(Object, Object, Object, Object, Object, Object, Object, Object, Object) SortByHeadings(Object, Object, Object, Object, Object, Object, Object, Object, Object) SortByHeadings(Object, Object, Object, Object, Object, Object, Object, Object, Object)

Sorts the headings in the specified selection.

SortDescending() SortDescending() SortDescending()

Sorts paragraphs or table rows in descending alphanumeric order.

SortOld(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) SortOld(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) SortOld(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object)

Reserved for internal use.

SplitTable() SplitTable() SplitTable()

Inserts an empty paragraph above the first row in the selection.

StartOf(Object, Object) StartOf(Object, Object) StartOf(Object, Object)

Moves or extends the start position of the specified selection to the beginning of the nearest specified text unit.

ToggleCharacterCode() ToggleCharacterCode() ToggleCharacterCode()

Switches a selection between a Unicode character and its corresponding hexadecimal value.

TypeBackspace() TypeBackspace() TypeBackspace()

Deletes the character preceding a collapsed selection (an insertion point).

TypeParagraph() TypeParagraph() TypeParagraph()

Inserts a new, blank paragraph.

TypeText(String) TypeText(String) TypeText(String)

Inserts the specified text.

WholeStory() WholeStory() WholeStory()

Expands a selection to include the entire story.

Applies to