セルコンテンツに基づいて行をグループ化し、集計値を計算します。
            
            
            シンタックス
            
            
            
            
            '宣言
 
Public Overloads Sub Subtotal( _
   ByVal  As AggregateEnum, _
   ByVal  As System.Integer, _
   ByVal  As System.Integer, _
   ByVal  As System.Integer, _
   ByVal  As System.Integer, _
   ByVal  As System.String _
) 
             
        
            
            public void Subtotal( 
   AggregateEnum ,
   System.int ,
   System.int ,
   System.int ,
   System.int ,
   System.string 
)
             
        
             
        
            パラメータ
- aggType
 
- 計算する集計の種類を指定する AggregateEnum 値。
 - level
 
- 新しい小計行に割り当てるアウトラインレベル。このパラメータを使用して、複数レベルの小計を作成できます。また、アウトラインツリーの表示に影響します。
 - groupFrom
 
- グループの境界を検出するために使用する範囲内の最初の列。
 - groupTo
 
- グループの境界を検出するために使用する範囲内の最後の列。
 - totalOn
 
- 集計する値(通常は数値)を含む列。
 - caption
 
- 小計行に挿入するテキスト。
 
            
             
            
            
            
            
            
            
            
            
            
            
            参照