Path Property [Document]

Path returns the path of the document without the file name. If the file has not been saved the document title i.e. "Plot1") is returned. Returns a string. This is a read-only property.

Syntax

object.Path

Example

This example demonstrates how to return the path of a plot document.

Debug.Print Plot.Path

Used by: Document object