XLSX Facade
Create, open, style, automate, and export Excel 2007+ .xlsx workbooks through the dedicated OOXML API surface
XLSX Facade Overview
Workbook API
Create, open, save, protect, calculate, and export Excel workbooks through the main workbook interface, including saved-by metadata, file-sharing metadata preservation, and pivot cache inspection
IXLSWorkbook interface
Classic XLS Pivot Tables
Create typed classic XLS pivot tables, inspect Excel-authored pivot workbooks, preserve raw pivot records, and configure field axes, subtotals, page filters, and data-field number formats
Classic XLS pivot table API
Workbook Metadata
Preserve FILESHARING, FILESHARING2, PROT4REV, PROT4REVPASS, HIDEOBJ, zero-length TEMPLATE, TABID, BOOKEXT, USERSVIEWBEGIN, USERSVIEWEND, and saved-by metadata when classic XLS workbooks pass through HotXLS
Classic XLS workbook metadata
Worksheet API
Manage sheets, ranges, page breaks, display settings, shapes, formulas, and sheet-level output, including range-based shape cleanup through TXLSShapes.DeleteInRange, loaded-cell scanning through TXLSWorksheet.ForEachCell, callback-based range writing through TXLSWorksheet.WriteCells, one-call filter setup through TXLSWorksheet.ApplyAutoFilter, and filter criteria inspection through AutoFilterColumns
TXLSWorksheet reference
Range Editing
Read and write values, formulas, rows, columns, borders, alignment, merging, grouping, formatting, and selected-range HTML fragments
IXLSRange interface
XLS Color Model
Review the ThemeColor, TintAndShade, and classic XLS palette-based formatting decision
Classic XLS color model
Grid Export
Export DBGrid content to Excel with header, detail, grouping, formatting, and event hooks
TGridToXLS component
Dataset Export
Export datasets to workbooks with field selection, worksheet naming, group styling, and save helpers
TDataToXLS component
Optional cxGrid Export
Export DevExpress TcxGridDBTableView data with workbook targeting, grouped output, formatting controls, and export events when the optional cxGrid unit is added to a project
TcxGridAddExcel component
Pascal Examples
Open sample workflows for purchase orders, grouped exports, images, and common workbook automation
Example topics
Release Notes
Review the HTML version history for HotXLS classic XLS, expanded XLSX, export, compatibility, and documentation updates in multiple languages
Open release notes