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