Illegal BYVAL
One of the following conditions could have caused this error:
- You specified the ByVal keyword on a subscript in referring to
an array element.
Remove the ByVal keyword.
- You specified the ByVal keyword in an array bounds expression
in a ReDim statement.
Remove the ByVal keyword.