Selection.Information Property
Word Developer Reference |
Returns information about the specified selection. Read-only Variant.
Syntax
expression.Information(Type)
expression Required. A variable that represents a Selection object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
Type | Required | WdInformation | The information type. |
Example
This example displays the current page number and the total number of pages in the active document.
Visual Basic for Applications |
---|
|
If the selection is in a table, this example selects the table.
Visual Basic for Applications |
---|
|
This example displays a message that indicates the current section number.
Visual Basic for Applications |
---|
|
See Also