BorderPart Enumeration

Specifies the portion of the cell border affected by this operation.

Syntax Constants
Enum BorderPart
    scLeftBorder = 0
    scRightBorder = 1
    scBottomBorder = 2
    scTopBorder = 3
    scInsideHorizontalBorder = 4
    scInsideVerticalBorder = 5
End Enum
  • scLeftBorder: Left side of the border.
  • scRightBorder: Right side of the border.
  • scBottomBorder: Bottom side of the border.
  • scTopBorder: Top side of the border.
  • scInsideHorizontalBorder: Inside, horizontal border.
  • scInsideVerticalBorder: Inside, vertical border.