FileExtension function
Returns the file extension of a specified file.
Syntax
FileExtension(FileName As String) As String
Parameters
FileName
|
The full name of the file for which to return the file extension.
|
Remarks
Also returns the period, for example, .doc.