Share via


Range.BorderAround2 Method

Reserved for internal use.

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

Syntax

'Declaration
Function BorderAround2 ( _
    LineStyle As Object, _
    Weight As XlBorderWeight, _
    ColorIndex As XlColorIndex, _
    Color As Object, _
    ThemeColor As Object _
) As Object
'Usage
Dim instance As Range
Dim LineStyle As Object
Dim Weight As XlBorderWeight
Dim ColorIndex As XlColorIndex
Dim Color As Object
Dim ThemeColor As Object
Dim returnValue As Object

returnValue = instance.BorderAround2(LineStyle, _
    Weight, ColorIndex, Color, ThemeColor)
Object BorderAround2(
    Object LineStyle,
    XlBorderWeight Weight,
    XlColorIndex ColorIndex,
    Object Color,
    Object ThemeColor
)

Parameters

Return Value

Type: System.Object
Returns Object.

See Also

Reference

Range Interface

Range Members

Microsoft.Office.Interop.Excel Namespace