Spread WPF Documentation
OpenExcel(String,String,Int32) Method


The path to load the file from.
The password used to open the file.
The index of the sheet in Excel file.
Opens an Excel Compound Document File and loads it into GcSpreadSheet.
Syntax
'Declaration
 
Public Overloads Sub OpenExcel( _
   ByVal file As System.String, _
   ByVal password As System.String, _
   ByVal sheetIndex As System.Integer _
) 
'Usage
 
Dim instance As GcSpreadSheet
Dim file As System.String
Dim password As System.String
Dim sheetIndex As System.Integer
 
instance.OpenExcel(file, password, sheetIndex)
public void OpenExcel( 
   System.string file,
   System.string password,
   System.int sheetIndex
)

Parameters

file
The path to load the file from.
password
The password used to open the file.
sheetIndex
The index of the sheet in Excel file.
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional (SP4), Windows XP (SP2), Windows 2008, Windows 2003 Server (SP1)

See Also

Reference

GcSpreadSheet Class
GcSpreadSheet Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.