Skip to main content

Borders.Weight property

Table of contents
  1. Syntax
  2. Examples

Returns or sets an XlBorderWeight value that represents the weight of the border.



expression A variable that represents a Borders object.


The following code example sets the thickness of the border created to xlThin (Thin).

Range("A1").Borders(xlEdgeBottom).Weight = xlThin

Leave a comment

Your email address will not be published. Required fields are marked *

Format your code: <pre><code class="language-vba">place your code here</code></pre>