Partager 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

See Also

Concepts

Application Object

Application Object Members