ActiveReports 12
Export Method (XlsExport)
Example 

GrapeCity.ActiveReports.Export.Excel.v12 Assembly > GrapeCity.ActiveReports.Export.Excel.Section Namespace > XlsExport Class : Export Method
Exports the specified document to Excel format.
Overload List
OverloadDescription
Exports the specified document to a .xls file.  
Exports the specified page document to Excel.  
Exports the specified page document to Excel.  
Exports the specified document to Excel.  
Exports the specified IReport to file  
Exports the specified IReport to file  
Exports the specified IReport to stream  
Exports the specified IReport to stream  
Exports the specified document to an Excel file.  
Exports the specified range of pages in a document to an Excel file.  
Exports the specified document to a stream in Excel format.  
Exports the specified range of pages in a document to a stream in Excel format.  
Remarks
Only when the output on the report is valid for the following conditions, the format settings of the cells exported to Excel are set automatically.
Example
private void Form1_Load(object sender, System.EventArgs e) 
{ 
    rptExports rpt = new rptExports(); 
    this.viewer1.Document = rpt.Document; 
    rpt.Run(false); 
 
    xlsExport1.Export(this.viewer1.Document, Application.StartupPath + "\\x.xls"); 
}
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    Dim rpt As New rptExports()
    Viewer1.Document = rpt.Document
    rpt.Run(False)

    XlsExport1.Export(rpt.Document, Application.StartupPath + "\x.xls")
End Sub
See Also

Reference

XlsExport Class
XlsExport Members