SpreadsheetGear 2010
Open(String,String) Method
See Also  Send Feedback
SpreadsheetGear Namespace > IWorkbooks Interface > Open Method : Open(String,String) Method

filename
The filename of the workbook to open.
password
The password to use when opening the workbook.
Open an existing workbook in a newly created instance of IWorkbook.

Syntax

Visual Basic (Declaration) 
Overloads Function Open( _
   ByVal filename As String, _
   ByVal password As String _
) As IWorkbook
C# 
IWorkbook Open( 
   string filename,
   string password
)

Parameters

filename
The filename of the workbook to open.
password
The password to use when opening the workbook.

Return Value

The opened workbook.

Remarks

The various workbook settings which make a workbook read-only in an end user workbookSet have no affect at this level. These settings are available as IWorkbook properties.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

Copyright © 2003-2010 SpreadsheetGear LLC. All Rights Reserved.Help Powered by Innovasys   
SpreadsheetGear is a registered trademark of SpreadsheetGear LLC.
Microsoft, Microsoft Excel and Visual Studio are trademarks or registered trademarks of Microsoft Corporation.