An Ordinary Parameter cannot Follow a ParamArray Error

You declared an 'ordinary' parameter as the second parameter after a parameter that was declared as ParamArray. This is not allowed.

Pass only the parameter declared as ParamArray.


Example

In the following declaration, m is the 'ordinary' parameter that is not allowed.

Sub myMethod( ParamArray n as Integer, m as Integer)

See Also

ParamArray keyword.