Share via


Application.PathSeparator Property (Excel)

Returns the path separator character ("\"). Read-only String.

Syntax

expression .PathSeparator

expression A variable that represents an Application object.

Example

This example displays the current path separator.

MsgBox "The path separator character is " & _ 
 Application.PathSeparator

請參閱

概念

Application Object

Application Object Members