hello, i'm trying to make a user-customizable workbook. the user will be able to customize the "Settings" sheet and type in fields and criteria that they want to compare.
the program does a WorksheetFunction.CountIfs method with multiple criteria. i was just wondering if it's possible to pass a variant array of arguments to this method, so that i don't have to change the code when the number of criteria changes.
right now it looks like this:
so the criteria will be read from the "Settings" sheet into the array and then it will resize automatically to fit the number of arguments.![]()
Please Login or Register to view this content.
or is there another way that i can do this?
thanks!
Bookmarks