Syntax

expression.HeaderRowRange

expression A variable that represents a ListObject object.

Example

The following example activates the range specified by the HeaderRowRange property of the default object in the first worksheet of the active workbook.

Visual Basic for Applications
Sub ActivateHeaderRow() Dim wrksht As Worksheet Dim objList As ListObject Dim objListRng As Range Set wrksht = ActiveWorkbook.Worksheets("Sheet1") Set objList = wrksht.ListObjects(1) Set objListRng = objList.HeaderRowRange objListRng.Activate End Sub
header header row range headerrow headerrowrange headerrowrange property

See also: