Getting or setting the range style ensures that every cell in the range has the same style. If the range does not contain any cells with custom styles, this property returns null.
Example
The code below creates a CellRange structure and uses it to apply a custom style to the entire range.