Path Property

Applies To

AddIn object, Application object, Presentation object.

Description

Returns the path to the specified AddIn, Application, or Presentation object. Read-only String.

Note   The path doesn't include the final separator character (in Windows, this is a backslash (\); on the Macintosh, it's a colon (:)) or the name of the specified object. Use the Name property of the Presentation object to return the file name without the path, and use the FullName property to return the file name and the path together.

See Also

FullName property, Name property.

Example

This example saves the active presentation in the same folder as PowerPoint.

With Application
    fName = .Path & "\test presentation"
    ActivePresentation.SaveAs fName
End With