Applies To
Range Object.
Description
Applies outlining styles to the range.
Syntax
object.ApplyOutlineStyles
object
Required. The range where outlining styles will be applied.
Example
The following example applies automatic outlining styles to the selection. The selection must include the entire outline range on a worksheet.
Selection.ApplyOutlineStyles