FarPoint.Web.Spread 名前空間 > FpSpread クラス > OpenExcel メソッド : OpenExcel(String,Int32,Int32,ExcelOpenFlags,ExcelWarningList) メソッド |
'Declaration
Public Overloads Function OpenExcel( _ ByVal fileName As String, _ ByVal spreadSheetIndex As Integer, _ ByVal excelSheetIndex As Integer, _ ByVal excelOpenFlags As ExcelOpenFlags, _ ByVal warningList As ExcelWarningList _ ) As Boolean
public bool OpenExcel( string fileName, int spreadSheetIndex, int excelSheetIndex, ExcelOpenFlags excelOpenFlags, ExcelWarningList warningList )
FpSpread1.OpenExcel("C:\\savedinexcel.xls", 0, 0, FarPoint.Excel.ExcelOpenFlags.DataOnly, new FarPoint.Excel.ExcelWarningList);
FpSpread1.OpenExcel("C:\savedinexcel.xls", 0, 0, FarPoint.Excel.ExcelOpenFlags.DataOnly, New FarPoint.Excel.ExcelWarningList)