04 SetBorders - AndrewMB2/Logic-Architect-for-Excel-VBA GitHub Wiki
SetBorders method
Sets all borders (headers optional). Returns True if successful, otherwise False.
Applies to
| TableData | ArrData | RsetData | Xdata | XShared |
|---|---|---|---|---|
| ✓ |
Parameters
| Name | Type | Description |
|---|---|---|
| LineStyle | XlLineStyle enumeration | Line style. |
| BorderWeight | XlBorderWeight enumeration | Border weight. |
| IncludeHeaders | Boolean (optional) | If True, assigns borders to the header row as well as the data. |