Use the AutoFormat feature to quickly apply a format to a selected cell range.
Select the range of cells to which the AutoFormat style is to be applied. The range must be at least 3 columns and 3 rows in size.
Go to Format - AutoFormat Styles to open the AutoFormat dialogue box.
In the Format list choose the AutoFormat style to apply.
In the Formatting section choose which properties from the AutoFormat style to apply to the selected cell range.
Click OK to apply the AutoFormat style and close the dialogue box.
In case the colour of the cell contents does not change, make sure View - Value Highlighting is disabled.
In a Calc spreadsheet, format a cell range with at least 4 columns and 4 rows to serve as model to create the new AutoFormat style.
Select the cell range formatted in the previous step and go to Format - AutoFormat Styles.
Click Add.
In the Name box of the Add AutoFormat dialogue box, enter a name for the new AutoFormat style.
Click OK and close the dialogue box.
The new AutoFormat styles created using the steps above can be applied to any Office Calc file. Hence they are not limited to the file where the style was created.