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
- LineStyle
Type: System.Object
- Weight
Type: Microsoft.Office.Interop.Excel.XlBorderWeight
- ColorIndex
Type: Microsoft.Office.Interop.Excel.XlColorIndex
- Color
Type: System.Object
- ThemeColor
Type: System.Object
Return Value
Type: System.Object