Skip to main content

Range.ApplyOutlineStyles method

Table of contents
  1. Syntax
  2. Return value
  3. Example

Applies outlining styles to the specified range.

Syntax

expression.ApplyOutlineStyles

expression A variable that represents a Range object.

Return value

Variant

Example

The following example applies automatic outlining styles to the selection. The selection must include the entire outline range on a worksheet.

Selection.ApplyOutlineStyles

Leave a comment

Your email address will not be published. Required fields are marked *

Format your code: <pre><code class="language-vba">place your code here</code></pre>