Or to be a padantic pain in the arse,

In two lines

Code:
Dim fs as New Scripting.FileSystemObject
MsgBox fs.GetExtensionName("c:/extension.txt")

Terry