wdInformation

Specifies the type of information returned about a specified selection or range.

wdActiveEndAdjustedPageNumberReturns the number of the page (as an Integer) that contains the active end of the specified selection or range
If you set a starting page number or make other manual adjustments, returns the adjusted page number (unlike wdActiveEndPageNumber) (1)
wdActiveEndPageNumberReturns the number of the page that contains the active end of the specified selection or range, counting from the beginning of the document
Any manual adjustments to page numbering are disregarded (unlike wdActiveEndAdjustedPageNumber) (3)
wdActiveEndSectionNumberReturns the number of the section that contains the active end of the specified selection or range (2)
wdAtEndOfRowMarkerReturns True if the specified selection or range is at the end-of-row mark in a table (31)
wdCapsLockReturns True if Caps Lock is in effect (21)
wdEndOfRangeColumnNumberReturns the table column number that contains the end of the specified selection or range (17)
wdEndOfRangeRowNumberReturns the table row number that contains the end of the specified selection or range (14)
wdFirstCharacterColumnNumberReturns the character position of the first character in the specified selection or range
If the selection or range is collapsed, the character number immediately to the right of the range or selection is returned (this is the same as the character column number displayed in the status bar after "Col") (9)
wdFirstCharacterLineNumberReturns the character position of the first character in the specified selection or range
If the selection or range is collapsed, the character number immediately to the right of the range or selection is returned (this is the same as the character line number displayed in the status bar after "Ln") (10)
wdFrameIsSelectedReturns True if the selection or range is an entire frame or text box (11)
wdHeaderFooterTypeReturns a value that indicates the type of header or footer that contains the specified selection or range, as shown in the following table (33)
1 None (the selection or range isn't in a header or footer)
0 (zero) Even page header
1 Odd page header (or the only header, if there aren't odd and even headers)
2 Even page footer
3 Odd page footer (or the only footer, if there aren't odd and even footers)
4 First page header
5 First page footer
wdHorizontalPositionRelativeToPageReturns the horizontal position of the specified selection or range; this is the distance from the left edge of the selection or range to the left edge of the page measured in points (1 point = 20 twips, 72 points = 1 inch)
If the selection or range isn't within the screen area, returns 1 (5)
wdHorizontalPositionRelativeToTextBoundaryReturns the horizontal position of the specified selection or range relative to the left edge of the nearest text boundary enclosing it, in points (1 point = 20 twips, 72 points = 1 inch)
If the selection or range isn't within the screen area, returns 1 (7)
wdInClipboardUsed in the Microsoft Office for Macintosh Editions ?? (38)
wdInCommentPaneReturns True if the specified selection or range is in a comment pane (26)
wdInEndnoteReturns True if the specified selection or range is in an endnote area in print layout view or in the endnote pane in normal view (36)
wdInFootnoteReturns True if the specified selection or range is in a footnote area in print layout view or in the footnote pane in normal view (35)
wdInFootnoteEndnotePaneReturns True if the specified selection or range is in the footnote or endnote pane in normal view or in a footnote or endnote area in print layout view
(25)
wdInHeaderFooterReturns True if the selection or range is in the header or footer pane or in a header or footer in print layout view (28).
wdInMasterDocumentReturns True if the selection or range is in a master document (that is, a document that contains at least one subdocument) (34)
wdInWordMailReturns True if the selection or range is in the header or footer pane or in a header or footer in print layout view (37)
0 (zero) The selection or range isn't in an e-mail message
1 The selection or range is in an e-mail message you are sending
2 The selection or range is in an e-mail you are reading
wdMaximumNumberOfColumnsReturns the greatest number of table columns within any row in the selection or range (18)
wdMaximumNumberOfRowsReturns the greatest number of table rows within the table in the specified selection or range (15)
wdNumberOfPagesInDocumentReturns the number of pages in the document associated with the selection or range (4)
wdNumLockReturns True if Num Lock is in effect (22)
wdOverTypeReturns True if Overtype mode is in effect
The Overtype property can be used to change the state of the Overtype mode (23)
wdReferenceOfTypeReturns a value that indicates where the selection is in relation to a footnote, endnote, or comment reference, as shown below (32)
1 The selection or range includes but isn't limited to a footnote, endnote, or comment reference
0 (zero) The selection or range isn't before a footnote, endnote, or comment reference
1 The selection or range is before a footnote reference
2 The selection or range is before an endnote reference
3 The selection or range is before a comment reference
wdRevisionMarkingReturns True if change tracking is in effect (24)
wdSelectionModeReturns a value that indicates the current selection (20)
0 (zero) Normal selection
1 Extended selection ("EXT" appears on the status bar)
2 Column selection ("COL" appears on the status bar)
wdStartOfRangeColumnNumberReturns the table column number that contains the beginning of the selection or range (16)
wdStartOfRangeRowNumberReturns the table row number that contains the beginning of the selection or range (13)
wdVerticalPositionRelativeToPageReturns the vertical position of the selection or range; this is the distance from the top edge of the selection to the top edge of the page measured in points (1 point = 20 twips, 72 points = 1 inch)
If the selection isn't visible in the document window, returns 1 (6)
wdVerticalPositionRelativeToTextBoundaryReturns the vertical position of the selection or range relative to the top edge of the nearest text boundary enclosing it, in points (1 point = 20 twips, 72 points = 1 inch)
This is useful for determining the position of the insertion point within a frame or table cell
If the selection isn't visible, returns 1 (8)
wdWithInTableReturns True if the selection is in a table (12)
wdZoomPercentageReturns the current percentage of magnification as set by the Percentage property (19)

wdActiveEndAdjustedPageNumber
Returns the number of the page (as an Integer) that contains the active end of the specified selection or range
If you set a starting page number or make other manual adjustments, returns the adjusted page number (unlike wdActiveEndPageNumber) (1)
wdActiveEndPageNumber
Returns the number of the page that contains the active end of the specified selection or range, counting from the beginning of the document
Any manual adjustments to page numbering are disregarded (unlike wdActiveEndAdjustedPageNumber) (3)
wdActiveEndSectionNumber
Returns the number of the section that contains the active end of the specified selection or range (2)
wdAtEndOfRowMarker
Returns True if the specified selection or range is at the end-of-row mark in a table (31)
wdCapsLock
Returns True if Caps Lock is in effect (21)
wdEndOfRangeColumnNumber
Returns the table column number that contains the end of the specified selection or range (17)
wdEndOfRangeRowNumber
Returns the table row number that contains the end of the specified selection or range (14)
wdFirstCharacterColumnNumber
Returns the character position of the first character in the specified selection or range
If the selection or range is collapsed, the character number immediately to the right of the range or selection is returned (this is the same as the character column number displayed in the status bar after "Col") (9)
wdFirstCharacterLineNumber
Returns the character position of the first character in the specified selection or range
If the selection or range is collapsed, the character number immediately to the right of the range or selection is returned (this is the same as the character line number displayed in the status bar after "Ln") (10)
wdFrameIsSelected
Returns True if the selection or range is an entire frame or text box (11)
wdHeaderFooterType
Returns a value that indicates the type of header or footer that contains the specified selection or range, as shown in the following table (33)
1 None (the selection or range isn't in a header or footer)
0 (zero) Even page header
1 Odd page header (or the only header, if there aren't odd and even headers)
2 Even page footer
3 Odd page footer (or the only footer, if there aren't odd and even footers)
4 First page header
5 First page footer
wdHorizontalPositionRelativeToPage
Returns the horizontal position of the specified selection or range; this is the distance from the left edge of the selection or range to the left edge of the page measured in points (1 point = 20 twips, 72 points = 1 inch)
If the selection or range isn't within the screen area, returns 1 (5)
wdHorizontalPositionRelativeToTextBoundary
Returns the horizontal position of the specified selection or range relative to the left edge of the nearest text boundary enclosing it, in points (1 point = 20 twips, 72 points = 1 inch)
If the selection or range isn't within the screen area, returns 1 (7)
wdInClipboard
Used in the Microsoft Office for Macintosh Editions ?? (38)
wdInCommentPane
Returns True if the specified selection or range is in a comment pane (26)
wdInEndnote
Returns True if the specified selection or range is in an endnote area in print layout view or in the endnote pane in normal view (36)
wdInFootnote
Returns True if the specified selection or range is in a footnote area in print layout view or in the footnote pane in normal view (35)
wdInFootnoteEndnotePane
Returns True if the specified selection or range is in the footnote or endnote pane in normal view or in a footnote or endnote area in print layout view
(25)
wdInHeaderFooter
Returns True if the selection or range is in the header or footer pane or in a header or footer in print layout view (28).
wdInMasterDocument
Returns True if the selection or range is in a master document (that is, a document that contains at least one subdocument) (34)
wdInWordMail
Returns True if the selection or range is in the header or footer pane or in a header or footer in print layout view (37)
0 (zero) The selection or range isn't in an e-mail message
1 The selection or range is in an e-mail message you are sending
2 The selection or range is in an e-mail you are reading
wdMaximumNumberOfColumns
Returns the greatest number of table columns within any row in the selection or range (18)
wdMaximumNumberOfRows
Returns the greatest number of table rows within the table in the specified selection or range (15)
wdNumberOfPagesInDocument
Returns the number of pages in the document associated with the selection or range (4)
wdNumLock
Returns True if Num Lock is in effect (22)
wdOverType
Returns True if Overtype mode is in effect
The Overtype property can be used to change the state of the Overtype mode (23)
wdReferenceOfType
Returns a value that indicates where the selection is in relation to a footnote, endnote, or comment reference, as shown below (32)
1 The selection or range includes but isn't limited to a footnote, endnote, or comment reference
0 (zero) The selection or range isn't before a footnote, endnote, or comment reference
1 The selection or range is before a footnote reference
2 The selection or range is before an endnote reference
3 The selection or range is before a comment reference
wdRevisionMarking
Returns True if change tracking is in effect (24)
wdSelectionMode
Returns a value that indicates the current selection (20)
0 (zero) Normal selection
1 Extended selection ("EXT" appears on the status bar)
2 Column selection ("COL" appears on the status bar)
wdStartOfRangeColumnNumber
Returns the table column number that contains the beginning of the selection or range (16)
wdStartOfRangeRowNumber
Returns the table row number that contains the beginning of the selection or range (13)
wdVerticalPositionRelativeToPage
Returns the vertical position of the selection or range; this is the distance from the top edge of the selection to the top edge of the page measured in points (1 point = 20 twips, 72 points = 1 inch)
If the selection isn't visible in the document window, returns 1 (6)
wdVerticalPositionRelativeToTextBoundary
Returns the vertical position of the selection or range relative to the top edge of the nearest text boundary enclosing it, in points (1 point = 20 twips, 72 points = 1 inch)
This is useful for determining the position of the insertion point within a frame or table cell
If the selection isn't visible, returns 1 (8)
wdWithInTable
Returns True if the selection is in a table (12)
wdZoomPercentage
Returns the current percentage of magnification as set by the Percentage property (19)


© 2024 Better Solutions Limited. All Rights Reserved. © 2024 Better Solutions Limited Top