M
Mister T
Hello,
I have done some Excel-to-VB.NET automation, so I am familiar with the
basics. I have gotten stuck on doing Subtotals.
The VBA macro looks like this::
..Selection.Subtotal(GroupBy:=2, Function:=xlSum, TotalList:=Array(5),
Replace:=False, PageBreaks:=False, SummaryBelowData:=True)
I cannot figure out how to reference the "Array(5)" object in VB.NET. Any
ideas?
Thanks for any suggestions.
Mister T
I have done some Excel-to-VB.NET automation, so I am familiar with the
basics. I have gotten stuck on doing Subtotals.
The VBA macro looks like this::
..Selection.Subtotal(GroupBy:=2, Function:=xlSum, TotalList:=Array(5),
Replace:=False, PageBreaks:=False, SummaryBelowData:=True)
I cannot figure out how to reference the "Array(5)" object in VB.NET. Any
ideas?
Thanks for any suggestions.
Mister T