A ParamArray's Element Type may not be Another Array Error

You tried to use the ParamArray keyword with an array parameter in a method declaration.


Example

This method declaration uses the ParamArray keyword with an array parameter. There's no need to do this. You can pass an indefinite number of elements simply by declaring the parameter ParamArray OR passing an array to the method. You cannot use both techniques at once.

Sub myMethod( ParamArray b() As String)

See Also

ParamArray keyword; Dim statement.