WorkbookType

WorkbookType class

Specifies the type of Open XML workbook file.

Constants

NameValueDescription
NotDefined-1The workbook type is not defined.
Workbook0Excel workbook (*.xlsx).
WorkbookMacro1Excel macro-enabled workbook (*.xlsm).
Template2Excel template (*.xltx).
TemplateMacro3Excel macro-enabled template (*.xltm).
WorkbookBinaryMacro4Excel binary macro-enabled workbook (*.xlsb).

NotDefined

The workbook type is not defined.


Workbook

Excel workbook (*.xlsx).


WorkbookMacro

Excel macro-enabled workbook (*.xlsm).


Template

Excel template (*.xltx).


TemplateMacro

Excel macro-enabled template (*.xltm).


WorkbookBinaryMacro

Excel binary macro-enabled workbook (*.xlsb).