ClearOutline Method
Applies To
Range object.
Description
Clears the outline for the specified range.
Syntax
expression.ClearOutline
expression Required. An expression that returns a Range object.
See Also
ApplyOutlineStyles method, AutoOutline method, DisplayOutline property, Group method, Outline object, OutlineLevel property, ShowDetail property, Ungroup method (Range object).
Example
This example clears the outline for the range A1:G37 on Sheet1.
Worksheets("Sheet1").Range("A1:G37").ClearOutline