Variable number of arguments in ParamArray ArgList()

Posted by Excel VBA guy on Stack Overflow See other posts from Stack Overflow or by Excel VBA guy
Published on 2009-06-04T08:31:06Z Indexed on 2010/04/14 20:53 UTC
Read the original article Hit count: 278

Filed under:
|
|

If I want to pass a number of values for the ParamArray arglist via an array, how do I do it? From what I've read so far, on VBA, it appears that I need to explicitly list the values that I want to pass. But what if there are potentially different numbers of values to pass, so I do not know in advance how many I'll want to pass to the function? Is there not some way of using an array (a one-dimensional array) with a variable dimension?

© Stack Overflow or respective owner

Related posts about excel-vba

Related posts about paramarray