Application.Path Property (Excel)

Office 2013 and later

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Returns a String value that represents the complete path to the application, excluding the final separator and name of the application.

expression .Path

expression A variable that represents an Application object.

This example displays the complete path to Microsoft Excel.

Sub TotalPath() 
 MsgBox "The path is " & Application.Path 
End Sub