Get file extension
Get file extension
Rate Get file extension
(1(1 Vote))
Dim Fname As String
Dim ExtName As String
ExtName = Mid$(Fname, InStrRev(Fname, "."))
'use InStrRev() to catch the last dot (filenames can contain more than one)
Get file extension Comments
No comments yet — be the first to post one!
Post a Comment