Skip to main content

Application.PathSeparator property

Table of contents
  1. Syntax
  2. Example

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

Leave a comment

Your email address will not be published. Required fields are marked *

Format your code: <pre><code class="language-vba">place your code here</code></pre>