Forums     Knowledge Base     OfficeWriter Online     
 
 
This documentation is for
OfficeWriter v3.7.1
.NET Platform

View Docs for Another
Version or Platform

Programmer's Reference > ExcelApplication API > ExcelApplication > Open

Open Method



Signature:

public Workbook Open ( ExcelTemplate excelTemplate )

Description:

Opens a Workbook from an ExcelTemplate object.

Parameters:

excelTemplate     An ExcelTemplate object representing the workbook to open.

Returns:

Workbook Workbook that is opened.

Exceptions:

System.Exception     If there is a problem creating, opening, or writing to the file specified, or reading from the Workbookobject.

Examples:

[csharp]
ExcelTemplate xlt = new ExcelTemplate();
// Do something with template here
ExcelApplication xla = new ExcelApplication();
xla.Open(xlt);
[vbnet]
Dim xlt As New ExcelTemplate()
' Do something with template here
Dim xla As New ExcelApplication()
xla.Open(xlt)



Copyright 2006 © SoftArtisans, Inc. All Rights Reserved.