This error may occur in the following situations:
- You have used a variant as a parameter in ReorderCols,
ReorderRows methods that does not
contain a zero based array, or the array is not of the correct size.
To solve this problem
Use the appropriate type of array as a parameter.
ReorderCols, ReorderRows Methods