SubtotalSetting property. An array of zerobased field offsets indicating the fields to which the subtotals are added...Workbook (); Worksheet worksheet = workbook . Worksheets [ 0 ]; //...// Sample data setup worksheet . Cells [ "A1" ]. PutValue ( "Category"...