Out of memory (Visual Basic Run-Time Error)
More memory was required than is available.
To correct this error
Close unnecessary applications, documents, or source files that are open.
Break large modules or procedures into smaller ones.
Eliminate terminate-and-stay-resident programs.
Eliminate unnecessary device drivers.
Reduce the number of public variables.