|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
Working with Ranges
Access a range and set the value.
Fill a range based on an initial value.
Get and set date values in cells.
Apply styles to cells in a region.
Clear styles from cells in a region.
Search for text in worksheet ranges.
Apply color to text in a range of cells.
Run Excel calculations programmatically.
For more information about Excel tasks and the Excel object model, see Excel Object Model Overview.
In some cases, the ways that you perform these tasks in application-level add-ins is different from the ways that you perform them in document-level customizations.