PathSeparator Property

Microsoft Excel Visual Basic

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

Example

This example displays the current path separator.

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