Name Property [Document]
Name returns the name of the document not including the path. Returns the document title if the file has not been saved yet (i.e. "Plot1"). 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