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

39 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.

Important

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. A user can select an operation and click the Run button to view the resulting spreadsheet document in Microsoft Excel.

Spreadsheet Document API - List of Supported Operations

Files to Look At

C# Visual Basic
AutoFilterActions.cs AutoFilterActions.vb
CustomXmlActions.cs CustomXmlPartActions.vb
DataValidationActions.cs DataValidationActions.vb
ExportActions.cs ExportActions.vb
GroupAndOutlineActions.cs GroupAndOutlineActions.vb
PictureActions.cs PictureActions.vb
ProtectionActions.cs ProtectionActions.vb
SearchActions.cs SearchActions.vb
SortActions.cs SortActions.vb
TableActions.cs TableActions.vb

Documentation

More Examples

Does this example address your development requirements/objectives?

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