ParamArray parameters must be declared 'ByVal'

ParamArray parameters cannot use the ByRef modifier.

Error ID: BC30667

To correct this error

  • Declare ParamArray parameters using the ByVal modifier.

See Also

Reference

ParamArray

ByRef

ByVal