Illegal specification of array bounds for: <array name>

You included array bounds in specifying a parameter in the declaration of a sub or function. A parameter that is an array should contain empty parentheses only.

Specify the parameter with empty parentheses. For example:

Function Comper (X(5,2) As Integer) As Single    ' Illegal
Function Comper (X () As Integer) As Single      ' Corrected form