Open the specified stream.
Syntax
'Declaration
Public Overloads Sub Open( _
ByVal As System.IO.Stream, _
Optional ByVal As System.Integer, _
Optional ByVal As System.String _
)
'Usage
Dim instance As ExcelWorkbook
Dim inStream As System.IO.Stream
Dim sheetIndex As System.Integer
Dim password As System.String
instance.Open(inStream, sheetIndex, password)
public void Open(
System.IO.Stream ,
System.int ,
System.string
)
Parameters
- inStream
- The stream to be opened
- sheetIndex
- the index of the Worksheet which will be opened. if the value is -1, it will open all
sheets
- password
- The password used to decrypt the stream
See Also