'<statementname>' statement requires an array

The Erase and ReDim statements require array data types. The type supplied is not an array.

Error ID: BC30049

To correct this error

  • Change the data type to an array type.

See Also

Reference

Erase Statement (Visual Basic)

ReDim Statement (Visual Basic)

Other Resources

Arrays in Visual Basic