Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »

Description

Passes a spreadsheet from ExcelApplication to ExcelTemplate.

C#
vb.net

Parameters

excelApplication
The instance of ExcelApplication that was used to create the spreadsheet.
workbook
A Workbook object representing the Excel file created with ExcelApplication.

Exceptions

ArgumentNullException
Open will throw this exception if null (C#) or Nothing (VB.NET) is passed to the method.
ArgumentException

Remarks

You can use ExcelApplication to create a document with data markers (a template) and pass the file to ExcelTemplate to populate the data markers.

If your template file is the new Office Open XML (.xlsx) format, you cannot open it using ExcelApplication in ExcelWriter version 7.

Examples

C#
vb.net
  • No labels