ListObject::HeaderRowRange Property
Gets a Range that represents the range of the header row.
Assembly: Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
If there is no header row, HeaderRowRange returns null.
The following code example creates a DataTable and a ListObject, and binds the ListObject to the DataTable. It then gets the range that contains the header row and changes the header row font to bold.
This example is for a document-level customization.
Show: