Reusing Style Objects
Contents[ Hide ]
Reusing style objects can save memory and make the program execute faster.
To apply some formatting to a large range of cells in a worksheet:
- Create a style object.
- Specify the attributes.
- Apply the style to the cells in the range.
The same process as discussed above could also be accomplished as follow.