Answers for "vba get the file name from path string"

VBA
0

vba extract filename from path

Function GetFilenameFromPath(ByVal strPath As String) As String
    If Right$(strPath, 1) <> "" And Len(strPath) > 0 Then
        GetFilenameFromPath = GetFilenameFromPath(Left$(strPath, _
        	Len(strPath) - 1)) + Right$(strPath, 1)
    End If
End Function
Posted by: Guest on January-31-2021

Code answers related to "vba get the file name from path string"

Code answers related to "VBA"

Browse Popular Code Answers by Language