Language

Range.AutoFill(Range, XlAutoFillType) メソッド

定義

指定された対象セル範囲内のセルに対してオートフィルを実行します。

public object AutoFill(Microsoft.Office.Interop.Excel.Range Destination, Microsoft.Office.Interop.Excel.XlAutoFillType Type = Microsoft.Office.Interop.Excel.XlAutoFillType.xlFillDefault);
Public Function AutoFill (Destination As Range, Optional Type As XlAutoFillType = Microsoft.Office.Interop.Excel.XlAutoFillType.xlFillDefault) As Object

パラメーター

Destination
Range

必須 Range オブジェクト。 オートフィルの書き込み先になる Range オブジェクトを指定します。 基準となるデータの入ったセル範囲も含むようにします。

Type
XlAutoFillType

オプションの XlAutoFillType。 オートフィルの種類を指定します。 次のいずれかの XlAutoFillType 定数を使用できます。xlFillDaysxlFillFormatsxlFillSeriesxlFillWeekdaysxlGrowthTrendxlFillCopyxlFillDefaultdefaultxlFillMonthsxlFillValuesxlFillYearsxlLinearTrendこの引数が xlFillDefault であるか省略された場合、Microsoft Excel はソース範囲に基づいて最も適切な塗りつぶしの種類を選択します。

返品

適用対象