Path Property

A String value. Gets or sets the path to the file for an object in the Applies to list.

Applies to: Document object, Library object

Syntax

[[Let] pathRet =] object.Path

[Let] object.Path = pathSet

The Path property syntax has these parts:

Part Description
object Required. An expression that returns an object in the Applies to list.
pathRet Optional. A String type variable.
pathSet Required. An expression that returns a String value. The new path to the document/library file.

Remarks

This property is modified automatically when the document or library are saved with a different path. The Path property contains only the path to the file, without the filename. Use the Name property to find out the name of the document/library. The full name with path is contained in the FullName property.

 

See Also

FullName property, Name property