Application.Path Property (Excel)
Returns a String value that represents the complete path to the application, excluding the final separator and name of the application.
Syntax
expression .Path
expression A variable that represents an Application object.
Example
This example displays the complete path to Microsoft Excel.
Sub TotalPath()
MsgBox "The path is " & Application.Path
End Sub