FillRight Method

Microsoft Office Web Components Visual Basic

expression.FillRight

expression    Required. An expression that returns a Range object.

Example

This example fills the range A1:M1 on the active worksheet, based on the contents of cell A1.

Spreadsheet1.ActiveSheet.Range("A1:M1").FillRight