Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 576
Default EXCEL.EXE has generated an error...when closing a workbook

HEIKKILÄT,

Used to get this all the time. Now only once in a while.

Some of the culprits:
Modules and macros with the same name
Modules, macros, and variables using reserved names for Excel
such as "row", "column", "sum". [if your not sure use the F1 key
after you have selected the suspected word, should come up with
Not Found]
Variables declared as Public and also dim'ed in a module.!!!!!!!!
Problems in code - make sure you have Option Explicit at the top
of all your modules and than compile them. Go to this site
http://www.bmsltd.co.uk/mvp/ and download the code cleaner.
Works great...

Temp folders that have too much in them. I am constantly emptying
mine, and also the Internet Temp files folder (but do this through the
Tools menu in my explorer). Don't forget your Recyle Bin.

Took some work to go through my books, but it has been worth the trouble.
And now I write code more carefully...
--
sb
"HEIKKILÄT" wrote in message
...
System shows this promt every time I close particular workbook. Workbook
contains usage of variables and ODBC queries from Pervasive SQL database.

I'm tired debugging macros piece by piece without any solution.




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error message adaytum.xla when closing workbook in Excel 2003 Laura2008 Excel Discussion (Misc queries) 1 November 5th 08 06:36 PM
Cannot Open Excel getting error: EXCEL.exe has generated errors .. Saine Excel Discussion (Misc queries) 11 March 21st 06 07:25 AM
Excel Program Error - Excel.exe Generated Errors Message Denise Lane Setting up and Configuration of Excel 4 March 18th 05 10:09 PM
Excel error while trying to import data from an Access database - MSQRY32.exe has generated errors X_HOBBES Excel Discussion (Misc queries) 0 March 15th 05 06:46 PM
Error while closing Excel Daniel Altman Excel Programming 1 August 13th 03 06:16 PM


All times are GMT +1. The time now is 10:25 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"