Opens the specified Excel workbook, and optionally sets the named worksheet as the current sheet.
Namespace: Autodesk.iLogic.Interfaces
Assembly: Autodesk.iLogic.Interfaces (in Autodesk.iLogic.Interfaces.dll) Version: 29.0
Syntax
VB
Sub Open ( fileName As String, Optional sheetName As String = "Sheet1" )
C#
void Open( string fileName, string sheetName = "Sheet1" )
Parameters
- fileName
- Type: System.String
The relative or absolute filename of the Excel workbook. (Relative paths are recommended.) - sheetName (Optional)
- Type: System.String
The name of the worksheet.