# TreeList.ExportToXlsx Overloads | WinForms Controls | DevExpress Documentation

# TreeList.ExportToXlsx Method

| Name | Parameters | Description |
| --- | --- | --- |
| [ExportToXlsx(Stream, XlsxExportOptions)](/WindowsForms/DevExpress.XtraTreeList.TreeList.ExportToXlsx%28System.IO.Stream-DevExpress.XtraPrinting.XlsxExportOptions%29) | stream, options | Exports data to the specified stream in XLSX (MS Excel 2007) format using the specified options. |
| [ExportToXlsx(Stream)](/WindowsForms/DevExpress.XtraTreeList.TreeList.ExportToXlsx%28System.IO.Stream%29) | stream | Exports data to the specified stream in XLSX (MS Excel 2007) format. |
| [ExportToXlsx(String, XlsxExportOptions)](/WindowsForms/DevExpress.XtraTreeList.TreeList.ExportToXlsx%28System.String-DevExpress.XtraPrinting.XlsxExportOptions%29) | fileName, options | Exports data to a file in XLSX (MS Excel 2007) format using the specified options. |
| [ExportToXlsx(String)](/WindowsForms/DevExpress.XtraTreeList.TreeList.ExportToXlsx%28System.String%29) | fileName | Exports data to the specified file in XLSX (MS Excel 2007) format. |