Range.DataSeries メソッド

定義

指定されたセル範囲に連続データを作成します。

public object DataSeries(object Rowcol, Microsoft.Office.Interop.Excel.XlDataSeriesType Type = Microsoft.Office.Interop.Excel.XlDataSeriesType.xlDataSeriesLinear, Microsoft.Office.Interop.Excel.XlDataSeriesDate Date = Microsoft.Office.Interop.Excel.XlDataSeriesDate.xlDay, object Step, object Stop, object Trend);
Public Function DataSeries (Optional Rowcol As Object, Optional Type As XlDataSeriesType = Microsoft.Office.Interop.Excel.XlDataSeriesType.xlDataSeriesLinear, Optional Date As XlDataSeriesDate = Microsoft.Office.Interop.Excel.XlDataSeriesDate.xlDay, Optional Step As Object, Optional Stop As Object, Optional Trend As Object) As Object

パラメーター

Rowcol
Object

オプションの オブジェクト。 データ系列をそれぞれ行または列に入力するには、 xlRows 定数または xlColumns 定数を指定できます。 この引数を省略した場合、範囲のサイズと形状が使用されます。

Type
XlDataSeriesType

オプションの XlDataSeriesType。 次のいずれかの XlDataSeriesType 定数を指定できます。xlAutoFillxlDataSeriesLineardefaultxlChronologicalxlGrowth

Date
XlDataSeriesDate

オプションの XlDataSeriesDate。 Type 引数が xlChronological の場合、 Date 引数はステップの日付単位を示します。 次の XlDataSeriesDate 定数のいずれかを指定できます。xlDaydefaultxlWeekdayxlMonthxlYear

Step
Object

オプションの オブジェクト。 連続データの増分値です。 既定値は 1 です。

Stop
Object

オプションの オブジェクト。 連続データの停止値です。 この引数を省略すると、対象セル範囲の終端まで繰り返されます。

Trend
Object

オプションの オブジェクト。 線形トレンドまたは成長傾向を作成する場合は true。標準データ系列を作成するには false。 既定値は False です。

返品

適用対象