A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

excel.exe program error



 
 
Thread Tools Display Modes
  #1  
Old September 15th, 2003, 04:13 PM
Dawn
external usenet poster
 
Posts: n/a
Default excel.exe program error

I have a spread sheet that I'm running macro's in, and it
keeps coming up with the error message

"excel.exe has generated errors and will be shut down by
windows. An error log is being generated."

Is there a way to tell if something in the macro is
corrupt, or how to fix this problem?

Thanks!
  #2  
Old September 15th, 2003, 04:39 PM
John Wilson
external usenet poster
 
Posts: n/a
Default excel.exe program error

Dawn,

First, open the workbook with Macros disabled.
Then go into the VBA Editor and attempt a "Compile".
This may or may not turn up any errors.
If that doesn't work, enter the following as the very first
line above "every" module (regular, worksheet, UserForm, etc.)
Option Explicit.
The above will force you to declare your variables.
Try another compile after this and correct any errors that come up.

Last but not least, download Rob Bovey's Code Cleaner.
http://www.appspro.com/utilities/utilities.asp

Try the first two steps to eliminate any obvious errors before
using the Code Cleaner. After that use the Code Cleaner
religiously (it's helped me cure a lot of problems with my
own coding).

John

Dawn wrote:

I have a spread sheet that I'm running macro's in, and it
keeps coming up with the error message

"excel.exe has generated errors and will be shut down by
windows. An error log is being generated."

Is there a way to tell if something in the macro is
corrupt, or how to fix this problem?

Thanks!


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 10:45 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.