Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Application.Path Property

Office 2007
Returns a String that represents the path to the specified Application object. Read-only.

Syntax

expression.Path

expression   A variable that represents an Application object.

Return Value
String

Remarks

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.

Visual Basic for Applications
With Application
    fName = .Path & "\test presentation"
    ActivePresentation.SaveAs fName
End With



Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.