Range.SetInsideBorders

Range.SetInsideBorders method

Set inside borders of the range.

public void SetInsideBorders(BorderType borderEdge, CellBorderType lineStyle, 
    CellsColor borderColor)
ParameterTypeDescription
borderEdgeBorderTypeInside borde type, only can be Vertical and Horizontal.
lineStyleCellBorderTypeThe border style.
borderColorCellsColorThe color of the border.

See Also