The Name property returns the name of the document not including the path. The document title is returned if the file has not been saved yet (i.e. "Map1"). Returns a string. This is the default property for the Document object.
Syntax
object.Name
Remarks
Use FullName to return the path and file name.
Example
This example demonstrates how to return the file name of a document.
Debug.Print Doc.Name
Used by: Document object