Spread Silverlight Documentation
Open(String,Int32,String) Method


The full path of the file
The index of the Worksheet which will be opened. if the value is -1, it will load all sheets
The password used to decrypt the file if the file was encrypted with a password
Open an existing file.
Syntax
'Declaration
 
Public Overloads Sub Open( _
   ByVal file As System.String, _
   Optional ByVal sheetIndex As System.Integer, _
   Optional ByVal password As System.String _
) 
'Usage
 
Dim instance As ExcelWorkbook
Dim file As System.String
Dim sheetIndex As System.Integer
Dim password As System.String
 
instance.Open(file, sheetIndex, password)
public void Open( 
   System.string file,
   System.int sheetIndex,
   System.string password
)

Parameters

file
The full path of the file
sheetIndex
The index of the Worksheet which will be opened. if the value is -1, it will load all sheets
password
The password used to decrypt the file if the file was encrypted with a password
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

ExcelWorkbook Class
ExcelWorkbook Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.