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.
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
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.