Partager via


Document.Name Property (Word)

Returns the name of the specified object. Read-only String.

Syntax

expression .Name

expression Required. A variable that represents a Document object.

Example

This example returns the name of the first bookmark in Hello.doc.

abook = Documents("Hello.doc").Bookmarks(1).Name

See Also

Concepts

Document Object Members

Document Object