Hi Forum,
I am planning to create a ParamArray with dual argument.. Dual argument means.. always 2/4/6.. parameter need to specify..
if you look at SUMIFS function -- CriteriaRange1, Criteria1 and CriteriaRange2, Criteria2 are always in a set..
Currently I am managing it with lbound to ubound step 2 method.. but I have strong believe, there must be some method to define dual/triple paramarray defining option..
![]()
Please Login or Register to view this content.
Formula:
Please Login or Register to view this content.
I am just worried about that red section, how to declare it something like..
ParamArray {varColumnName(),varWhereClause()} As Variant
If you will try SumIfs function like =SUMIFS(E11:E20,F11:F20,D8,G11:G20) [last criteria parameter missing]
excel will through error..
So the query is "How to declare paramarray with dual argument"..
any Input will be appreciated..
Bookmarks