Name
range
.BorderAround([LineStyle
], [Weight
], [ColorIndex
], [Color
])
Synopsis
Adds a border around the specified range of cells.
Argument |
Settings |
---|---|
|
The line style of the border. The default value is |
|
The thickness of the border line. The default value is |
|
The border color, as an index of the color in the current color palette or as one of the following constants: |
|
The border color as an RGB value. |
Get Programming Excel with VBA and .NET now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.