IRange.BorderAround Method
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Function BorderAround ( _
LineStyle As Object, _
Weight As XlBorderWeight, _
ColorIndex As XlColorIndex, _
Color 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 returnValue As Object
returnValue = instance.BorderAround(LineStyle, _
Weight, ColorIndex, Color)
Object BorderAround(
Object LineStyle,
XlBorderWeight Weight,
XlColorIndex ColorIndex,
Object Color
)
Parameters
- LineStyle
Type: System.Object
- Weight
Type: Microsoft.Office.Interop.Excel.XlBorderWeight
- ColorIndex
Type: Microsoft.Office.Interop.Excel.XlColorIndex
- Color
Type: System.Object
Return Value
Type: System.Object