Retrieve just the extension of a file just by specifying the file name
Retrieve just the extension of a file just by specifying the file name
Rate Retrieve just the extension of a file just by specifying the file name
(1(1 Vote))
For iLoop = 0 To Len(SourceFile)
If Left(Right(SourceFile, iLoop), 1) = "." Then
GetFileExtension = Right(SourceFile, iLoop - 1)
Exit Function
End If
Next iLoop
End Function
Retrieve just the extension of a file just by specifying the file name Comments
No comments yet — be the first to post one!
Post a Comment