Skip to content

Use the Spreadsheet Document API to manage spreadsheet documents in code.

License

Notifications You must be signed in to change notification settings

DevExpress-Examples/spreadsheet-document-api-examples-part2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spreadsheet Document API – How to Process Excel Workbooks in Code (Part 2)

The DevExpress Spreadsheet Document API is a non-visual library that allows you to generate, import, export, modify, and print Microsoft Excel workbooks in code.

You need a license for the DevExpress Office File API Subscription or DevExpress Universal Subscription to use this library in production code.

This example demonstrates how to use the Spreadsheet Document API to execute the following actions:

  • Apply filters to a worksheet range (a dynamic filter, the “Top 10” filter, number, text, and date filters)
  • Save a worksheet in HTML format
  • Group and ungroup worksheet rows and columns
  • Outline worksheet data automatically
  • Create subtotals for a cell range
  • Insert a picture into a worksheet and modify an embedded picture
  • Protect and unprotect a workbook or a worksheet
  • Protect specific worksheet ranges
  • Sort data in a range
  • Manage tables and table styles
  • Search for specific data in a worksheet

The application form contains the list of supported operations and the editor that allows you to view and edit the source code for each operation. Select an operation, modify its code if necessary, and click Open in Microsoft Excel to open the resulting spreadsheet document in Microsoft Excel. If an error occurs during compilation or execution, the background color of the code editor changes to pink.

Spreadsheet Document API - List of Supported Operations

Files to Look At

Documentation

More Examples

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)