Path Property

Applies To

AddIn Object, Application Object, Workbook Object.

Description

Returns the complete path of the object (as a string), without including the final separator and name of the object. Read-only.

Remarks

If you do not specify an object qualifier, this property returns the path to the Microsoft Excel application (it is equivalent to Application.Path).

Example

This example displays the complete path to Microsoft Excel.


MsgBox "The path is " & Application.Path