title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
Selection.Document property (Word) |
vbawd10.chm158663659 |
|
|
03b4bfd7-8d4a-f069-0c28-41be2ead8614 |
06/08/2017 |
medium |
Returns a Document object associated with the specified selection. Read-only.
expression.Document
expression A variable that represents a Selection object.
This example displays the document name and path for the selection.
Msgbox Selection.Document.FullName
[!includeSupport and feedback]