This error may occur in the following situations:
- The number of rows you have specified in the Size
method is less than 1, or greater than the MaxSize
property.
- You have tried to set the Rows property to
a value less than 1, or greater than the MaxSize
Property.
To solve this problem
Use a valid number of rows.
See Also
MaxSize Property | Size Method
| Rows Property