Export (0) Print
Expand All
Expand Minimize

Application.Path Property

Office 2007
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.

Visual Basic for Applications
Sub TotalPath()

    MsgBox "The path is " & Application.Path

End Sub



Community Additions

ADD
Show:
© 2014 Microsoft