GetName

Parses the file name out of the path provided.


Syntax

FileSystem.GetName(Path)


Parameters


Path

String, input



Path to be parsed.


Examples

Sub Main()

MsgBox "The filename is: " & vbCrLf & vbCrLf & FileSystem.GetName("C:\Users\Public\My Directory\Test.txt")

End Sub