NamedRange::EntireRow Property
Gets a Microsoft.Office.Interop.Excel::Range that represents the entire row (or rows) that contains the NamedRange control.
Assembly: Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
Property Value
Type: Microsoft.Office.Interop.Excel::Range^A Microsoft.Office.Interop.Excel::Range that represents the entire row (or rows) that contains the NamedRange control.
The following code example creates a NamedRange and then sets the border color of the columns and rows that contain the NamedRange to green.
This example is for a document-level customization.
Show: