Table of contents
TOC
Collapse the table of content
Expand the table of content

Presentation.Path Property (PowerPoint)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Returns a String that represents the path to the specified Presentation object. Read-only.

Syntax

expression. Path

expression A variable that represents a Presentation object.

Return Value

String

Remarks

If you use this property to return a path for a presentation that has not been saved, it returns an empty string.

The path doesn't include the final backslash () 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.

Example

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

With Application

    fName = .Path &; "\test presentation"

    ActivePresentation.SaveAs fName

End With

See also

Concepts

Presentation Object

© 2018 Microsoft