FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > FpSpread Class > SaveExcel Method : SaveExcel(String,IncludeHeaders,ExcelWarningList) Method |
'Declaration Public Overloads Function SaveExcel( _ ByVal fileName As String, _ ByVal includeHeaders As IncludeHeaders, _ ByVal warningList As ExcelWarningList _ ) As Boolean
'Usage Dim instance As FpSpread Dim fileName As String Dim includeHeaders As IncludeHeaders Dim warningList As ExcelWarningList Dim value As Boolean value = instance.SaveExcel(fileName, includeHeaders, warningList)
public bool SaveExcel( string fileName, IncludeHeaders includeHeaders, ExcelWarningList warningList )
ExcelWarningList w = new ExcelWarningList(); FpSpread1.SaveExcel("test.xls",IncludeHeaders.BothCustomOnly,w);
Dim w As FarPoint.Excel.ExcelWarningList FpSpread1.SaveExcel("test.xls",Model.IncludeHeaders.BothCustomOnly,w)
Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional
FpSpread Class
FpSpread Members
Overload List
Saving to an Excel-Formatted File