Too many arguments for: <subprogram name>
You specified more than the limit of 31 parameters in the declaration of a sub or function. The maximum number of parameters that may be specified for a sub or function is 31.
Reduce the number of declared parameters to 31 or fewer.