Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Microsoft Office Excel has encountered a problem and needs to close

Hi,

we have recently upgraded from Office 2003 to Office 2007. Our users
are using some Excel files created in Excel 2003. These files contain
some code in VBA.
There is a CLOSE button on the form and when they hit on that close
button excel is araising the following exception. The code behind
close button is simple (ActiveWorkbook.Close SaveChanges:=False).

"Microsoft Office Excel has encountered a problem and needs to close.
We are sorry for the inconvenience."

I dont get this error when 2003 is used.

How can I solve this problem?

Thanks
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
Microsoft Office Excel has encountered a problem and needs to close jerry Excel Programming 0 September 8th 09 08:14 PM
Microsoft Office Excel has encountered a problem and needs to close jerry Excel Programming 0 September 8th 09 08:13 PM
Microsoft Excel has encountered a problem and needs to close...... Des Excel Discussion (Misc queries) 0 February 5th 08 11:23 PM
Microsoft Excel encountered a problem and needs to close tiller420 Excel Discussion (Misc queries) 0 February 22nd 07 06:46 PM
Microsoft Excel has encountered a problem and needs to close. HELP! LAF Excel Discussion (Misc queries) 2 April 3rd 06 01:57 PM


All times are GMT +1. The time now is 04:01 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"