You attempted to create a string object, but could not because you have used up all your system memory. This could be a result of a dynamically allocated array growing too large, or the instantiation of a large number of objects.

To correct this error

  • Use the Erase statement to reallocate dynamic-array storage space.

  • Use the ReDim statement to reallocate storage space.

  • Close any unnecessary applications, documents, or source files that are open.

See Also