Spreadsheets 新聞

使用 WPF 導入和匯出 Excel XLSX

8月 9, 2024
瞭解 MESCIUS 推出的 Spread.NET 如何透過 C# 或 VB 中的 Excel 試算表無縫導入和匯出功能來增強您的 WPF 項目。

Spread.NET helps you create spreadsheets, grids, dashboards, and forms. It includes a powerful calculation engine with 450+ functions and the ability to import and export Excel spreadsheets. Leverage the extensive .NET spreadsheet API and powerful calculation engine to create analysis, budgeting, dashboard, data collection and management, scientific, and financial applications.

In this blog post, MESCIUS Product Marketing Specialist Mackenzie Albitz guides you through the four essential steps to import and export Excel spreadsheets on your way to creating robust spreadsheet applications with Spread.NET. These steps include:

  • Create a WPF Spreadsheet Application
  • Define the User Interface for a WPF Spreadsheet App
  • Add Excel XLSX Import Code - Invoke ExcelOpen Method
  • Add Excel XLSX Export Code - Invoke SaveExcel Method

Sample code is included in the blog and you can download the sample app in either C# or VB.

Read the full blog to get started using the full capabilities of the Spread.NET WPF component.

Spread.NET is licensed per developer and is available as a Perpetual License with a 12 month support and maintenance subscription. We can supply any Spread.NET license including new licenses, maintenance renewals, and upgrade licenses. See our Spread.NET licensing page for full details.

For more information, visit our Spread.NET product page.

允許試算表執行剪貼板操作

8月 2, 2024
用剪切、複製和粘貼資料的功能增強 Angular 試算表應用程式,從而簡化了資料操作和管理任務。

A spreadsheet control that supports clipboard operations gives users the ability to cut, copy and paste data within or between spreadsheets. These functions enable users to efficiently transfer, duplicate, or relocate information by temporarily storing selected cells or ranges in a system-wide clipboard. This functionality forms a key part of a spreadsheet application, saving time and increasing productivity by enabling quick duplication or relocation of data without the need to manually re-enter information. By reducing the risk of errors that might occur during manual data entry or reformatting, these operations help maintain data integrity and streamline data manipulation and management tasks.

Several Angular spreadsheet components support the use of clipboard operations, including:

  • SpreadJS by MESCIUS is a complete JavaScript spreadsheet solution with full support for Angular that allows users to easily perform clipboard operations.
  • Jspreadsheet Pro facilitates clipboard integration into Angular applications, providing seamless data transfer with intuitive cut, copy, and paste functionalities.
  • Infragistics Spreadsheet Angular (part of Infragistics Ignite UI) is a lightweight component that enables users to perform cut, copy, and paste clipboard operations.
  • Syncfusion Spreadsheet JavaScript (part of Syncfusion Essential Studio Enterprise) lets you execute clipboard commands for easy data manipulation in Angular.

For an in-depth analysis of features and price, visit our comparison of Angular spreadsheet controls.

Compare Angular Spreadsheet Controls

在 C# .NET 中將 XLSX 匯出為 PDF、圖像、JSON 或 HTML

8月 2, 2024
利用 Document Solutions for Excel, .NET Edition 的強大功能,以程式設計方式將 Excel 報表匯出為多種格式。

Document Solutions for Excel, .NET Edition is a high-speed, small-footprint, server-side spreadsheet API that requires no dependencies on Excel. The interface-based API is modeled on Excel's document object model which means you can import, calculate, query, generate, and export any spreadsheet scenario. Using DsExcel, you can programmatically create Excel reports, sorted and filtered tables, sorted and filtered pivot tables, dashboard, add charts, sparklines, conditional formats, import and export Excel templates and also convert spreadsheets to PDF, HTML, or an image format.

In this blog post, MESCIUS Software Engineer Prabhat Sharma demonstrates the exporting capabilities of the DsExcel API including exporting Excel XLSX to formats such as PDF, image, JSON, and HTML. Source code is included for each step, showing you how to use Document Solutions to export reports in each format.

Read the complete blog and learn how to make your data more accessible and versatile.

Document Solutions for Excel, .NET Edition is licensed per developer and is available in several license options for differing distribution needs. Team licenses are also available for multiple developers within the same organization. See our Document Solutions for Excel, .NET Edition licensing page for full details.

Learn more on our Document Solutions for Excel, .NET Edition product page.

為儲存格內容提供其它資訊

7月 26, 2024
利用注釋來提供補充資訊、上下文或說明,否則會使試算表變得混亂。

Spreadsheet cell comments/tooltips, provide a way to display additional information on hover over a specific cell. This enhances the user experience by offering context beyond the cell's main value. Common use cases include displaying formulas used for calculations, extended data not suitable for the main view, or data validation rules. They improve spreadsheet clarity and reduce the need for separate documentation or cluttered cell content.

Several .NET WPF Spreadsheet controls offer cell comments/tooltips including:

For an in-depth analysis of features and price, visit our WPF Spreadsheet controls comparison.

Compare .NET WPF Spreadsheet Controls

使用嵌入的 VBA 代碼管理 XLSM 檔

7月 17, 2024
無需 Excel 即可在您的 .NET 試算表應用程式中維護 Microsoft Excel 宏和 Visual Basic for Applications (VBA) 代碼。

.NET spreadsheet components with VBA code and macro support empower developers to integrate existing Excel automation functionalities within their applications. This unlocks the benefits of the .NET framework, enhancing performance, security, and scalability of spreadsheet operations. Developers can access, modify, and save embedded VBA scripts, ensuring seamless operation in environments that support VBA execution. This fosters continued automation and functionality even when legacy systems or non-VBA-enabled environments are involved, while also enabling code updates, debugging, and preparation for code-execution-friendly settings.

Several .NET spreadsheet components offer VBA code/macro support, including:

  • Aspose.Cells for .NET is an Excel spreadsheet programming API that allows you to modify macros and VBA code in the template file to streamline spreadsheet tasks in .NET apps.
  • Document Solutions for Excel, .NET Edition by MESCIUS allows users to load and save macro-enabled XLSM files.
  • EPPlus is a .NET library for managing Office Open XML spreadsheets. It is capable of creating, reading, deleting, and modifying VBA code.
  • Infragistics Excel Framework (part of Infragistics Ultimate UI for Windows Forms) supports workbooks in XLSM format with VBA code, enhancing .NET application development.

For an in-depth analysis of features and price, visit our comparison of .NET spreadsheet components.

Compare .NET Spreadsheet Components