Sets the style for every cell in this range. When a style is set - rather than applied (see Range.ApplyStyle ) - all previously assigned style properties, including font and number formatting, will be overwritten for all cells in the range.

 public void SetStyle(Style style)
Public Sub SetStyle(ByVal style As Style)

The Style object to assign to the range.

rng.SetStyle(styl);
rng.SetStyle(styl)