GetParentPath

Returns the parent path of the path provided.


Syntax

FileSystem.GetParentPath(Path)


Parameters


Path

String, input



Path to be examined.


Examples

Sub Main()

MsgBox "The parent path is: " & vbCrLf & vbCrLf & FileSystem.GetParentPath("C:\Users\Public\My Directory\")

End Sub