OutlineLevel Property Example

This example sets the outline level for row two on Sheet1.

Worksheets("Sheet1").Rows(2).OutlineLevel = 1