Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

Range Properties (Word)

Office 2013

Published: July 16, 2012

This object has the following properties:

Name

Description

Application

Returns an Application object that represents the Microsoft Word application.

Bold

True if the range is formatted as bold. Read/write Long.

BoldBi

True if the font or range is formatted as bold. Returns True, False, or wdUndefined (for a mixture of bold and non-bold text). Can be set to True, False, or wdToggle. Read/write Long.

BookmarkID

Returns the number of the bookmark that encloses the beginning of the specified range; returns 0 (zero) if there is no corresponding bookmark. Read-only Long.

Bookmarks

Returns a Bookmarks collection that represents all the bookmarks in a document, range, or selection. Read-only.

Borders

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

Case

Returns or sets a WdCharacterCase constant that represents the case of the text in the specified range. Read/write.

Cells

Returns a Cells collection that represents the table cells in a range. Read-only.

Characters

Returns a Characters collection that represents the characters in a range. Read-only.

CharacterStyle

Returns a Variant that represents the style used to format one or more characters. Read-only.

CharacterWidth

Returns or sets the character width of the specified range. Read/write WdCharacterWidth.

Columns

Returns a Columns collection that represents all the table columns in the range. Read-only.

CombineCharacters

True if the specified range contains combined characters. Read/write Boolean.

Comments

Returns a Comments collection that represents all the comments in the specified document, selection, or range. Read-only.

Conflicts

Returns a Conflicts collection object that contains all the conflict objects in the range. Read-only.

ContentControls

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

Creator

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

DisableCharacterSpaceGrid

True if Microsoft Word ignores the number of characters per line for the corresponding Range object. Read/write Boolean.

Document

Returns a Document object associated with the specified range. Read-only.

Duplicate

Returns a read-only Range object that represents all the properties of the specified range.

Editors

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

EmphasisMark

Returns or sets the emphasis mark for a character or designated character string. Read/write WdEmphasisMark.

End

Returns or sets the ending character position of a range. Read/write Long.

EndnoteOptions

Returns an EndnoteOptions object that represents the endnotes in a range.

Endnotes

Returns an Endnotes collection that represents all the endnotes in a range. Read-only.

EnhMetaFileBits

Returns a Variant that represents a picture representation of how a range of text appears.

Fields

Returns a Fields collection that represents all the fields in the range. Read-only.

Find

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

FitTextWidth

Returns or sets the width (in the current measurement units) in which Microsoft Word fits the text in the current selection or range. Read/write Single.

Font

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

FootnoteOptions

Returns FootnoteOptions object that represents the footnotes in a selection or range.

Footnotes

Returns a Footnotes collection that represents all the footnotes in a range. Read-only.

FormattedText

Returns or sets a Range object that includes the formatted text in the specified range or selection. Read/write.

FormFields

Returns a FormFields collection that represents all the form fields in the range. Read-only.

Frames

Returns a Frames collection that represents all the frames in a range. Read-only.

GrammarChecked

True if a grammar check has been run on the specified range or document. Read/write Boolean.

GrammaticalErrors

Returns a ProofreadingErrors collection that represents the sentences that failed the grammar check on the specified document or range. Read-only.

HighlightColorIndex

Returns or sets the highlight color for the specified range. Read/write WdColorIndex.

HorizontalInVertical

Returns or sets the formatting for horizontal text set within vertical text. Read/write WdHorizontalInVerticalType.

HTMLDivisions

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

Hyperlinks

Returns a Hyperlinks collection that represents all the hyperlinks in the specified range. Read-only.

ID

Returns or sets the identification name for the specified range. Read/write String.

Information

Returns information about the specified range. Read-only Variant.

InlineShapes

Returns an InlineShapes collection that represents all the InlineShape objects in a range. Read-only.

IsEndOfRowMark

True if the specified range is collapsed and is located at the end-of-row mark in a table. Read-only Boolean.

Italic

True if the font or range is formatted as italic. Read/write Long.

ItalicBi

True if the font or range is formatted as italic. Read/write Long.

Kana

Returns or sets whether the specified range of Japanese language text is hiragana or katakana. Read/write WdKana.

LanguageDetected

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

LanguageID

Returns or sets a WdLanguageID constant that represents the language for the specified range. Read/write.

LanguageIDFarEast

Returns or sets an East Asian language for the specified object. Read/write WdLanguageID.

LanguageIDOther

Returns or sets the language for the specified range. Read/write WdLanguageID.

ListFormat

Returns a ListFormat object that represents all the list formatting characteristics of a range. Read-only.

ListParagraphs

Returns a ListParagraphs collection that represents all the numbered paragraphs in the range. Read-only.

ListStyle

Returns a Variant that represents the style used to format a bulleted list or numbered list. Read-only.

Locks

Returns a CoAuthLocks collection object that represents all the locks in the range. Read-only.

NextStoryRange

Returns a Range object that refers to the next story. Read-only Range.

NoProofing

True if the spelling and grammar checker ignores the specified text. Read/write Long.

OMaths

Returns an OMaths collection that represents the OMath objects within the specified range. Read-only.

Orientation

Returns or sets the orientation of text in a range when the Text Direction feature is enabled. Read/write WdTextOrientation.

PageSetup

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

ParagraphFormat

Returns or sets a ParagraphFormat object that represents the paragraph settings for the specified range. Read/write.

Paragraphs

Returns a Paragraphs collection that represents all the paragraphs in the specified range. Read-only.

ParagraphStyle

Returns a Variant that represents the style used to format a paragraph. Read-only.

Parent

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

ParentContentControl

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

PreviousBookmarkID

Returns the number of the last bookmark that starts before or at the same place as the specified range. Read-only Long.

ReadabilityStatistics

Returns a ReadabilityStatistics collection that represents the readability statistics for the specified document or range. Read-only.

Revisions

Returns a Revisions collection that represents the tracked changes in the range. Read-only.

Rows

Returns a Rows collection that represents all the table rows in a range. Read-only.

Scripts

Returns a Scripts collection that represents the collection of HTML scripts in the specified object.

Sections

Returns a Sections collection that represents the sections in the specified range. Read-only.

Sentences

Returns a Sentences collection that represents all the sentences in the range. Read-only.

Shading

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

ShapeRange

Returns a ShapeRange collection that represents all the Shape objects in the specified range. Read-only.

ShowAll

True if all nonprinting characters (such as hidden text, tab marks, space marks, and paragraph marks) are displayed. Read/write Boolean.

SpellingChecked

True if spelling has been checked throughout the specified range or document. False if all or some of the range or document has not been checked for spelling. Read/write Boolean.

SpellingErrors

Returns a ProofreadingErrors collection that represents the words identified as spelling errors in the specified range. Read-only.

Start

Returns or sets the starting character position of a range. Read/write Long.

StoryLength

Returns the number of characters in the story that contains the specified range. Read-only Long.

StoryType

Returns the story type for the specified range, selection, or bookmark. Read-only WdStoryType.

Style

Returns or sets the style for the specified object. Read/write Variant.

Subdocuments

Returns a Subdocuments collection that represents all the subdocuments in the specified range or document. Read-only.

SynonymInfo

Returns a SynonymInfo object that contains information from the thesaurus on synonyms, antonyms, or related words and expressions for the contents of a range.

Tables

Returns a Tables collection that represents all the tables in the specified range. Read-only.

TableStyle

Returns a Variant that represents the style used to format a table. Read-only.

Text

Returns or sets the text in the specified range or selection. Read/write String. Read/write String.

TextRetrievalMode

Returns a TextRetrievalMode object that controls how text is retrieved from the specified Range. Read/write.

TextVisibleOnScreen

Returns a Long that indicates whether the text in the specified range is visible on the screen. Read-only.

TopLevelTables

Returns a Tables collection that represents the tables at the outermost nesting level in the current range. Read-only.

TwoLinesInOne

Returns or sets whether Microsoft Word sets two lines of text in one and specifies the characters that enclose the text, if any. Read/write WdTwoLinesInOneType.

Underline

Returns or sets the type of underline applied to a range. Read/write WdUnderline.

Updates

Returns a CoAuthUpdates collection object that represents all updates that were merged into the specified range at the last explicit save. Read-only.

WordOpenXML

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

Words

Returns a Words collection that represents all the words in a range. Read-only.

XML

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.