'Declaration Public Overloads Sub Load( _ ByVal fileName As System.String _ )
public void Load( System.string fileName )
Parameters
- fileName
- Name of the file that contains the worksheet.
'Declaration Public Overloads Sub Load( _ ByVal fileName As System.String _ )
public void Load( System.string fileName )
Component One Excel infers the file format automatically based on the file name extension. "XLSX" and "ZIP" files are loaded as OpenXml; all others are loaded as Biff8 files ("xls").
If the file doesn't exist, is locked, or is not a valid Excel file, an exception is thrown.