This example demonstrates how to use the SpreadsheetControl API to programmatically manage spreadsheet documents, without the need for Microsoft Excel to be installed.
In particular, this sample introduces API properties and methods used to perform the following operations:
- Manage worksheets (activate, create, delete, rename, copy, adjust worksheet view, etc.)
- Manipulate rows and columns (insert, delete, copy rows and columns, adjust row height and column width, etc.)
- Manipulate cells and cell ranges (set cell values, add hyperlinks to cells, copy and merge cells), create, edit and copy cell comments
- Create formulas (use various functions and cell references in formulas, use names in formulas, create shared and array formulas, etc.)
- Format cells (set cell font, colors, alignment, borders, number format, etc.)
- Export the workbook to PDF
- Print the workbook
Question Comments
Added By: Rodney Stone 1 at: 12/1/2015 10:40:20 AM
Cannot open form designer, get
The designer cannot process the code at line 32: DirectCast(Me.treeList1, System.ComponentModel.ISupportInitialize).BeginInit() The code within the method 'InitializeComponent' is generated by the designer and should not be manually modified. Please remove any changes and try opening the designer again.
Change the DirectCast to Ctype
Added By: Andrey (DevExpress Support) at: 12/1/2015 11:10:45 PMHello,
To process your recent post more efficiently, I created a separate ticket on your behalf: T319405: Error occurs in the E4655 example at design time. This ticket is currently in our processing queue. Our team will address it as soon as we have any updates.
How this example works?
I clicked and double-clicked the item in TreeList, but there is no change.
I'm using DevExpress 15.2 version, Windows 7 Added By: George (DevExpress Support) at: 2/4/2016 5:30:29 AM
Hello,
To process your recent post more efficiently, I created a separate ticket on your behalf: T342194: A double-click on an item in TreeList doesn't make any effect. This ticket is currently in our processing queue. Our team will address it as soon as we have any updates.