Compartilhar via


IRange.BorderAround2 Method

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 IRange
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

See Also

Reference

IRange Interface

IRange Members

Microsoft.Office.Interop.Excel Namespace