Range("foo").Borders.LineStyle = xlContinuous
Range("foo").Borders(xlEdgeBottom).LineStyle = xlContinuous
| オプション | 部位 |
| xlEdgeTop | 上側 |
| xlEdgeBottom | 下側 |
| xlEdgeLeft | 左側 |
| xlEdgeRight | 右側 |
| xlInsideHorizontal | 内側の縦線 |
| xlInsideVertical | 内側の横線 |
| xlDiagonalUp | 右上がりの斜線 |
| xlDiagonalDown | 右下がりの斜線 |