Out of memory (Visual Basic Compiler Error)
More memory was required than is available.
Error ID: BC2004
To correct this error
Close unnecessary applications, documents and source files.
Eliminate unnecessary controls and forms so fewer are loaded at one time
Reduce the number of Public variables.
Check available disk space.
Increase the available RAM by installing additional memory or reallocating memory.
Make sure that memory is freed when it is no longer needed.