When we are working with advanced filters in excel, we can have subtotal which use some pre-defined functions.
Now, what if I want to have subtotal to use an UDF? Is it possible? How could I define a number for my UDF?
I mean something like:
[VBA]
.Subtotal GroupBy:=5, Function:=myFunction, TotalList:=Array(5) _
, Replace:=True,
PageBreaks:=False, SummaryBelowData:=False
[/VBA]