ClearOutline Method

Microsoft Excel Visual Basic

ClearOutline Method

       

Clears the outline for the specified range.

expression.ClearOutline

expression   Required. An expression that returns a Range object.

Example

This example clears the outline for the range A1:G37 on Sheet1.

Worksheets("Sheet1").Range("A1:G37").ClearOutline