Path Property

Applies To

AddIn object, Application object, RecentFile object, Workbook object.

Description

Returns the complete path of the object, excluding the final separator and name of the object. Read-only String.

Remarks

Using this property without an object qualifier is equivalent to Application.Path (this returns the path to the Microsoft Excel application).

Example

This example displays the complete path to Microsoft Excel.

MsgBox "The path is " & Application.Path