C1.WPF.Excel Namespace > C1XLBook Class > Save Method : Save(String) Method |
'Declaration
Public Overloads Sub Save( _ ByVal fileName As System.String _ )
public void Save( System.string fileName )
The format used to save the file is automatically determined by the file name extension. "Xlsx" and "zip" files are saved as OpenXml; all others are saved as Biff8 files ("xls").
If the file can't be created, an exception is thrown. This typically indicates that the file is currently open by another application (such as Microsoft Excel).
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