Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Description

Excerpt

Creates a new workbook containing 1 worksheet, in the specified file format. The sheet is blank when the workbook is created, and standard font, style, and format settings applied.

Signature
C#
C#
public virtual Workbook Create(FileFormat format)
Signature
vb.net
vb.net
Public Overridable Function Create(ByVal format As FileFormat) As Workbook
Parameters
Param
format
format

The file format to use for the workbook.

Returns

A Workbook object representing the created workbook.

Remarks

For more information about the differences between the file formats, see ExcelApplication.FileFormat

Example
Code Block
csharp
csharp
titleC#
Workbook wb = xla.Create(ExcelApplication.FileFormat.Xlsx);
Code Block
vbnet
vbnet
titlevb.net
Dim wb As Workbook = xla.Create(ExcelApplication.FileFormat.Xlsx)