Formatting

## Formatting Document Solutions for Excel provides a lot of properties to customize the appearance of a range: - **IRange.NumberFormat** sets the number format - **IRange.HorizontalAlignment**, **IRange.VerticalAlignment**, **IRange.IndentLevel**, etc. set the alignment - **IRange.Font** sets the font - **IRange.Borders** sets the border - **IRange.Interior** sets solid fill, pattern fill, and gradient fill - **IRange.Locked** and **IRange.FormulaHidden** sets up protection You can also create custom styles or use the built-in named styles, and apply named styles to one or more ranges.