You only neeed the {1,2,3;4,5,6} kind of argument if you are passing arrays
of constants to a function. If you want to pass an array of cells, use
Harlan's description of passing a range:
=FunctionName(B11:B39,B38)
then in the VBA
public FunctionName(theInputs as variant,Constant as ...)
defining theInputs as variant allows the function to either have an array of
constants as input, or a range of cells. You would have to program tests on
the variant to determine which one the function had been passed.
regards
Charles
______________________
Decision Models
FastExcel 2.1 now available
www.DecisionModels.com