D
dwidavidwilkinson
The full error message is "Microsoft Office Excel has stopped working.
A problem caused the program to stop working correctly. Windows will
close the program and notify you if a solution is available".
Hi,
I have written an Excel VBA application using a single Userform. But,
the Userform and a single Module I have defined each contains a large
amount of code. For example:
The Userform contains about 120 procedures and functions and approx.
12,000 lines of code.
The Module contains about 150 procedures and functions and approx.
10,000 lines of code.
I suspected that is the problem. So I have already tried to break the
Userform code and the code in the Module into separate modules, but I
still get the error message, not always, but very frequently.
However, if I view the code using ALT+F11 and then invoke the initial
macro, I don't get the error message..
I am using Excel 2007 with Windows 7 on one machine and Excel 2007
with Vista on another (I get the same results).
Any help would be greatly appreciated.
A problem caused the program to stop working correctly. Windows will
close the program and notify you if a solution is available".
Hi,
I have written an Excel VBA application using a single Userform. But,
the Userform and a single Module I have defined each contains a large
amount of code. For example:
The Userform contains about 120 procedures and functions and approx.
12,000 lines of code.
The Module contains about 150 procedures and functions and approx.
10,000 lines of code.
I suspected that is the problem. So I have already tried to break the
Userform code and the code in the Module into separate modules, but I
still get the error message, not always, but very frequently.
However, if I view the code using ALT+F11 and then invoke the initial
macro, I don't get the error message..
I am using Excel 2007 with Windows 7 on one machine and Excel 2007
with Vista on another (I get the same results).
Any help would be greatly appreciated.