Skip to main content

Range.FillDown method

Table of contents
  1. Syntax
  2. Return value
  3. Example

Fills down from the top cell or cells in the specified range to the bottom of the range. The contents and formatting of the cell or cells in the top row of a range are copied into the rest of the rows in the range.

Syntax

expression.FillDown

expression A variable that represents a Range object.

Return value

Variant

Example

This example fills the range A1:A10 on Sheet1, based on the contents of cell A1.

Worksheets("Sheet1").Range("A1:A10").FillDown

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>