NamedRange::Borders Property

 

Gets a Borders collection that represents the borders of the NamedRange control.

Namespace:   Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)

property Borders^ Borders {
	Borders^ get();
}

Property Value

Type: Microsoft.Office.Interop.Excel::Borders^

A Borders collection that represents the borders of the NamedRange control.

The following code example uses the Borders property to draw double lines for the border of a NamedRange, and it uses the Interior property to color the interior of a NamedRange green.

This example is for a document-level customization.

No code example is currently available or this language may not be supported.
Return to top
Show: