Following code gives subtotal of 8th and 9th columns...
My question is why we are using Int32?
What does Int32 mean?
.Range("A1").CurrentRegion.Subtotal(GroupBy:=7, Function:=Excel.XlConsolidationFunction.xlSum, TotalList:=New Int32() {8, 9}, Replace:=False, PageBreaks:=False, SummaryBelowData:=True)