Only One Parameter my use the ParamArray Option Error

You tried to pass more than one parameter using the ParamArray keyword. You can pass only one parameter that uses the ParamArray keyword.

If there is more than one parameter, the ParamArray keyword should be used for the last parameter.

# Example

The following method declaration uses the ParamArray keyword twice.

Sub myMethod( ParamArray a As Integer, ParamArray s as String)

# See Also

ParamArray keyword.