Products Technologies Demo Docs Blog Support Company

Excel Compatibility in TX Sheet Control: Working with the Workbooks Your Users Already Have

Learn how TX Sheet Control loads, edits, and saves Excel XLSX workbooks with their formulas, formatting, tables, charts, and native pivot tables. This article covers conversion diagnostics, hardened import for untrusted files, and the other supported formats.

Excel Compatibility in TX Sheet Control: Working with the Workbooks Your Users Already Have

Every organization has them: Excel workbooks that have grown over years. Price calculations, budget templates, planning sheets, and reports that contain formulas, formatting, tables, and charts that someone has carefully built. When a business application introduces spreadsheet functionality, the first question is usually the same: Can we keep working with our existing files?

This article explains how TX Sheet Control loads, edits, and saves Excel workbooks, what is retained, how conversion diagnostics keep you informed, and which other formats complete the picture.

Why Excel Compatibility Is Not Optional

A spreadsheet component that cannot read and write Excel files is a closed system. Users cannot bring in the workbooks they already have, and they cannot share the results with colleagues, customers, and partners who use Excel every day.

However, simply opening an XLSX file is not enough.

A workbook is more than a grid of values. It contains formulas that calculate results, formatting that communicates meaning, tables with structured references, charts that visualize data, and print settings that define how the document looks on paper. If any of these get lost in a round trip, the workbook is damaged, and users will stop trusting the system.

What is needed is a component that treats Excel workbooks as first-class documents.

XLSX as a First-Class Format

TX Sheet Control exchanges Excel workbooks through XLSX while retaining worksheet data, formulas, formatting, tables, charts, and print settings. This is available in the browser editor and in the .NET and Node.js server packages, using equivalent load and save methods on every platform.

Workbook with a table and a chart

For real business templates, TX Sheet Control retains the elements that typical business workbooks are built from:

  • Formulas: Calculations, named formulas, and structured table references.
  • Formatting: Number formats, themed colors, custom table styles, and hatch fills.
  • Conditional formatting: Native conditional formatting definitions, including the priorities of Excel expression rules.
  • Tables: Excel tables with their native table style names, such as TableStyleMedium2.
  • Charts and sparklines: Worksheet charts with their axes, label formats, and layouts, as well as sparklines.
  • Drawings: Pictures and shapes, including field captions on shapes.
  • Print settings: Paper size, orientation, margins, print area, and scaling.

Excel table styles

Native Pivot Tables in XLSX

Pivot tables are a special case worth mentioning. TX Sheet Control writes ordinary pivot tables and their connected pivot charts as native linked objects, including their caches, so they remain pivot tables when the workbook is opened in Excel. Pivot tables that use features such as grouping, record-level calculated fields, distinct counts, ranks, or other unsupported display or filter calculations are written as a snapshot whose refresh is disabled in Excel, and TX Sheet Control restores their complete definition when the unchanged file is loaded again.

Learn more

Learn how pivot tables in TX Sheet Control let users analyze their own data with drag-and-drop field lists, grouping, filtering, Show Values As, calculated fields, and pivot charts, and how the data tools clean up and combine data with previews and undo.

Pivot Tables and Data Analysis with TX Sheet Control: Let Your Users Answer Their Own Questions

Conversion Diagnostics: No Silent Surprises

Excel is a large application with decades of features, and not every specialized Excel object is editable in every other application. The important question is not whether a workbook contains such content, but whether you know about it.

TX Sheet Control reports this through conversion diagnostics. Every load returns a list of warnings that identify content that is approximated in the editor or retained only for round trips. Your application decides how to handle them: log them, show them to the user, or reject a document that does not meet your requirements.

Decorative styles are handled with the same care:

  • Style recovery: Unrecognized border styles and fill patterns are displayed as a thin border or the background color, while the original XLSX formatting is retained. A warning reports each kind of approximation.
  • Original XML: An unchanged save keeps the original decorative XML of the workbook.
  • Validation: Package integrity and XML checks still validate every input.

This transparency is critical in production. Instead of discovering lost content when a customer complains, your application knows how each document was converted.

Validate with Representative Documents

We recommend a simple practice before going live: test a document that is typical of the workbooks your application handles. Load the file and inspect the conversion warnings. Check key values, formulas, table and worksheet names, number and date formats, fonts, charts, drawings, and print settings. Save the workbook to XLSX and reopen it in the target spreadsheet application.

This round trip tells you within minutes how your real templates behave, and the conversion diagnostics tell you why.

Hardened Import for Untrusted Files

Workbooks often come from outside: uploaded by users, received by email, or provided by partners. A component that processes such files must treat them as untrusted input.

The XLSX import of TX Sheet Control limits the file size, the number of archive entries, and the decompressed size, including the declared expanded size of archive entries. External workbook relationships are never fetched automatically.

In other words, opening a workbook never makes your application fetch linked workbooks or other external resources on its own.

More Than XLSX

Excel compatibility is the most important format requirement, but business applications exchange data in many forms. TX Sheet Control supports the formats that matter:

  • XLSX: Load, edit, and save Excel workbooks.
  • ODS: Load, edit, and save OpenDocument Spreadsheet files. An unchanged workbook is saved as its original bytes, and edits keep the unrelated parts of the original package.
  • TXWB: The native workbook format, which retains the complete workbook model, including dashboards, views, and mail merge templates.
  • CSV, XML, and JSON: Exchange the values of a worksheet with other applications and services.
  • PDF: Export worksheets to fixed pages with vector graphics and embedded fonts.

The choice between XLSX and TXWB is straightforward. Use XLSX to exchange workbooks with Excel and other spreadsheet applications. Use TXWB for dashboards and reusable report templates, because TXWB retains the complete workbook model, including dashboard definitions and template metadata.

Fonts That Travel with the Workbook

A workbook looks only as good as its fonts. TX Sheet Control includes 30 font families, and fonts that are not available to it are substituted with included fonts, for example, Liberation Sans for Century Gothic. The stored font name never changes, so the original font is used wherever it is available, for example, when the workbook is opened in Excel on a system that has it installed.

When documents must look identical in TX Sheet Control on every system, the fonts used in a workbook can be embedded when it is saved as TXWB, ODS, or XLSX. In XLSX, the fonts are stored in a TX Sheet Control extension that Excel does not use.

Learn more

Learn how TX Sheet Control creates, merges, and exports workbooks in .NET and Node.js without a browser. This article covers mail merge with visually designed templates, typed bindings and diagnostics, PDF output, and a report pipeline for invoices and reports.

Server-Side Spreadsheet Processing and Reporting with TX Sheet Control in .NET and Node.js

Conclusion: Work with the Files Your Users Already Have

Excel compatibility decides whether a spreadsheet component can be used in the real world. Existing workbooks must open, calculate, and look the way their authors intended, and the results must go back to Excel without damage.

TX Sheet Control delivers Excel compatibility that is:

  • Comprehensive for business workbooks, from formulas and tables to charts and native pivot tables
  • Transparent, with conversion diagnostics for every document
  • Secure, with hardened import for untrusted files
  • Available in the browser and on the server in .NET and Node.js

Your users have years of work invested in their workbooks. With TX Sheet Control, that work comes with them.

Download trial

Frequently Asked Questions

TX Sheet Control retains worksheet data, formulas, formatting, tables, charts, and print settings. Business templates also keep custom table styles, themed colors, named formulas, structured references, sparklines, drawings, and conditional formatting priorities. Ordinary pivot tables and pivot charts are written as native linked objects.

Every load returns conversion diagnostics, a list of warnings that identify content that is approximated in the editor or retained only for round trips. We recommend testing a representative document: load it, inspect the warnings, save it to XLSX, and reopen it in the target spreadsheet application.

The XLSX import limits the file size, the number of archive entries, and the decompressed size. External workbook relationships are never fetched automatically.

Use XLSX to exchange workbooks with Excel and other spreadsheet applications. Use TXWB, the native format of TX Sheet Control, for dashboards and reusable report templates, because TXWB retains the complete workbook model, including dashboard definitions and template metadata.

In addition to XLSX and TXWB, TX Sheet Control loads and saves OpenDocument Spreadsheet (ODS) files, exchanges worksheet values as CSV, tabular XML, and JSON, and exports PDF.

Stay in the loop!

Subscribe to the newsletter to receive the latest updates.

TX Sheet Control

Excel-compatible spreadsheet editing, a robust calculation engine, and interactive dashboards for business applications.

Learn more about TX Sheet Control

Related Posts

ASP.NETExcelSpreadsheet

Importing Excel XLSX Spreadsheets into TX Text Control in ASP.NET Core and…

TX Text Control is able to import Excel documents by converting spreadsheets into tables. This article shows how to import spreadsheets programmatically.


ExcelPivot TableSpreadsheet

Pivot Tables and Data Analysis with TX Sheet Control: Let Your Users Answer…

Learn how pivot tables in TX Sheet Control let users analyze their own data with drag-and-drop field lists, grouping, filtering, Show Values As, calculated fields, and pivot charts, and how the…


AngularBlazorJavaScript

Inside the TX Sheet Control Spreadsheet Editor: A Complete Spreadsheet for…

Learn how the TX Sheet Control spreadsheet editor brings a complete spreadsheet into JavaScript, Angular, ASP.NET Core, and Blazor applications. This article covers the ribbon, 522 formula…


AngularBlazorJavaScript

TX Sheet Control 2.0 Is Now Available: Spreadsheets and Dashboards for Your…

Today, we are proud to officially release TX Sheet Control 2.0. The newest member of the Text Control product family brings Excel-compatible spreadsheet editing, a powerful calculation engine,…


ASP.NETASP.NET CoreConference

Meet Text Control at code.talks 2026: Spreadsheets, Documents, and More

Text Control is heading to Hamburg for code.talks 2026 on November 4-5. Stop by our booth to meet the team, explore our latest developer technologies, and be among the first to experience TX Sheet…

Share this blog post on:

​​​