FileFormat Property
Applies To
Workbook object.
Description
Returns the file format and/or type of the workbook. Read-only Long.
Can be one of the following XlFileFormat constants:
Remarks
The following additional formats are available in the Far East version of Microsoft Excel: xlWJ2WD1, xlExcel2FarEast, and xlWorks2FarEast.
Example
This example saves the active workbook in Normal file format if its current file format is WK3.
If ActiveWorkbook.FileFormat = xlWK3 Then
ActiveWorkbook.SaveAs fileFormat:=xlNormal
End If