Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 391
Default Excel crashes on "Close" Visual Basic error 400

Excel 2007 on XP Pro up-to-date

After working fine for over a year, Excel 2007 now freezes when I attempt to close it.
Excel does close the worksheet(s) but it hangs in memory and on the screen.

When I click the Red "X" a second time to close, I get Visual Basic error 400.

In addition, I am also getting error messages about Add-ins causing a "major error" and a
question as to whether I want to disable them. The particular Add-in named as causing the
problem changes each crash: i.e, PUP7, Synkronizer, and two to three others unnamed here.

I did go through and inactivated all of them and the problem seemed to go away but came
back with vengeance.

In prior versions, I recalled the need to delete a certain file used by Excel during startup.

In 2007, I am not sure what to do.

TIA EagleOne
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 391
Default Excel crashes on "Close" Visual Basic error 400

I have made some headway.

When I remove my Personal.xls from the Excel Startup folder the problem goes away.

I have not made any changes in my Personal.xls file for two months. In addition,
the same file (and all routines) works fine with my Excel 2003 on XP2 SP2.

IMPORTANT EPIPHANY JUST IN:

Yesterday, I did move a file in my Personal Certificate folder (via certmgr.msc) from Personal
to Trusted Root Certificates Store. This was a file I believe that I created in Excel to authorize
my VBA (in Personal.xls).

It now seems to make sense that the two events seem linked almost exactly in time.

The certificate file was "XYZ" that was created in XL 2003 to authorize my VBA file
XYZ's "Certificate path" indicated that it was NOT Trusted.

With Gord Dibbons insight, I moved it to Trusted Root Certificates Store. In The process, I was
given the option to accept it as trusted and it now is "Trusted" which is what I wanted.

My guess is that Excel knew its previous location but I moved it outside of Excel.

Could this cause my Personal.xls to crash Excel?

How do I fix the issue?

TIA EagleOne

wrote:

Excel 2007 on XP Pro up-to-date

After working fine for over a year, Excel 2007 now freezes when I attempt to close it.
Excel does close the worksheet(s) but it hangs in memory and on the screen.

When I click the Red "X" a second time to close, I get Visual Basic error 400.

In addition, I am also getting error messages about Add-ins causing a "major error" and a
question as to whether I want to disable them. The particular Add-in named as causing the
problem changes each crash: i.e, PUP7, Synkronizer, and two to three others unnamed here.

I did go through and inactivated all of them and the problem seemed to go away but came
back with vengeance.

In prior versions, I recalled the need to delete a certain file used by Excel during startup.

In 2007, I am not sure what to do.

TIA EagleOne

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 391
Default Excel crashes on "Close" Visual Basic error 400

Using Excel 2007 Macro Security, I was able to find my XYZ Certificate in Trusted Publishers and is
listed as "Trusted" therefore Excel know where it is. There goes that idea.

Does anyone know if MS made any recent updates to Excel that may be at issue?

Also, any suggestions as to how I can find a problem in my Personal.xls?

As I said, this problem started yesterday. I have not made any changes to Personal.xls in two
months.

Any help or thoughts greatly appreciated!

EagleOne

wrote:

Excel 2007 on XP Pro up-to-date

After working fine for over a year, Excel 2007 now freezes when I attempt to close it.
Excel does close the worksheet(s) but it hangs in memory and on the screen.

When I click the Red "X" a second time to close, I get Visual Basic error 400.

In addition, I am also getting error messages about Add-ins causing a "major error" and a
question as to whether I want to disable them. The particular Add-in named as causing the
problem changes each crash: i.e, PUP7, Synkronizer, and two to three others unnamed here.

I did go through and inactivated all of them and the problem seemed to go away but came
back with vengeance.

In prior versions, I recalled the need to delete a certain file used by Excel during startup.

In 2007, I am not sure what to do.

TIA EagleOne

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 391
Default Excel crashes on "Close" Visual Basic error 400

Success:

The problem was a VBA library reference in my Personal.xls which was no longer up to date.

Specifically, if one uses Synkronizer be aware ( I forgot about having to make the VBA library
reference in my code which I did two years ago) that every time one updates Synkronizer
AND you have VBA code calling it up in VBA to change the reference to Synkronizer
in your code.

Thanks for any time spent by anyone out there!!


wrote:

Excel 2007 on XP Pro up-to-date

After working fine for over a year, Excel 2007 now freezes when I attempt to close it.
Excel does close the worksheet(s) but it hangs in memory and on the screen.

When I click the Red "X" a second time to close, I get Visual Basic error 400.

In addition, I am also getting error messages about Add-ins causing a "major error" and a
question as to whether I want to disable them. The particular Add-in named as causing the
problem changes each crash: i.e, PUP7, Synkronizer, and two to three others unnamed here.

I did go through and inactivated all of them and the problem seemed to go away but came
back with vengeance.

In prior versions, I recalled the need to delete a certain file used by Excel during startup.

In 2007, I am not sure what to do.

TIA EagleOne

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
Suppress popup "Do you really want to save..." after open and immediate close of excel sheets ? Markus Obermayer Excel Discussion (Misc queries) 2 January 2nd 07 02:12 PM
Suppress popup "Do you really want to save..." after open and immediate close of excel sheets ? Markus Obermayer Excel Worksheet Functions 2 January 2nd 07 02:12 PM
Folder Graphic (in Word & Pub) instead of "Close" button in Excel Susan ARC Excel Discussion (Misc queries) 1 September 3rd 06 04:34 AM
"Microsoft Visual Basic runtime error '424' object required". SharonG. Excel Worksheet Functions 0 July 5th 06 01:36 AM
Excel Visual Basic Error cmar Excel Discussion (Misc queries) 2 June 10th 06 12:13 AM


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