WorkbookType
WorkbookType class
Specifies the type of Open XML workbook file.
Constants
| Name | Value | Description |
|---|---|---|
| NotDefined | -1 | The workbook type is not defined. |
| Workbook | 0 | Excel workbook (*.xlsx). |
| WorkbookMacro | 1 | Excel macro-enabled workbook (*.xlsm). |
| Template | 2 | Excel template (*.xltx). |
| TemplateMacro | 3 | Excel macro-enabled template (*.xltm). |
| WorkbookBinaryMacro | 4 | Excel 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).