Returns a string specifying file extension
Returns a string specifying file extension
Rate Returns a string specifying file extension
(1(1 Vote))
On Error GoTo Error_Handler
Dim nToRight As Integer
nToRight = VBA.InStr(1, VBA.StrReverse(strSource), ".", vbTextCompare)
GetFileExtension = VBA.Right(strSource, nToRight - 1)
Exit Function
Error_Handler:
GetFileExtension = ""
End Function
Returns a string specifying file extension Comments
No comments yet — be the first to post one!
Post a Comment