【書式】
File.Type
ファイルの種類を返します。
Sub test67()
Dim FSO As Object
Set FSO = CreateObject("Scripting.FileSystemObject")
''「Microsoft Office Excelワークシート」を表示します
MsgBox FSO.GetFile("C:\Work\Book1.xlsx").Type
Set FSO = Nothing
End Sub