C1.WPF.Excel Namespace > C1XLBook Class > Load Method : Load(String) Method |
'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.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2