Share via


Borders.Color Property

Returns or sets the primary color of all four borders of a range. If they're not all the same color, returns 0 (zero).

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

Syntax

'Declaration
Property Color As Object
    Get
    Set
'Usage
Dim instance As Borders
Dim value As Object

value = instance.Color

instance.Color = value
Object Color { get; set; }

Property Value

Type: System.Object

See Also

Reference

Borders Interface

Borders Members

Microsoft.Office.Interop.Excel Namespace