Share via


Border.Color Property

Returns or sets the primary color of the border.

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 Border
Dim value As Object

value = instance.Color

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

Property Value

Type: System.Object

Remarks

Use the RGB function to create a color value.

See Also

Reference

Border Interface

Border Members

Microsoft.Office.Interop.Excel Namespace