Excel hangs whenever spreadsheet is closed

Post Reply
telula
Posts: 99
Joined: Tue Nov 18, 2008 5:40 am

Excel hangs whenever spreadsheet is closed

Post by telula »

Hello,
It seems that sometimes when we close a spreadsheet, it hangs the entire excel application.This is causing frustrations among our users.
In certain spreadsheets, we have a N_Disconnect macro that is called on Workbook close and it still causes the same problem. We are using TM1 V9.0SP3 on excel 2003.Has anybody got a solution?
User avatar
jim wood
Site Admin
Posts: 3958
Joined: Wed May 14, 2008 1:51 pm
OLAP Product: TM1
Version: PA 2.0.7
Excel Version: Office 365
Location: 37 East 18th Street New York
Contact:

Re: Excel hangs whenever spreadsheet is closed

Post by jim wood »

The only thing that might be happening is that in your excel options you have auto calc switched off but you still have calc on save selected? Are you saving upon exit?
Struggling through the quagmire of life to reach the other side of who knows where.
Shop at Amazon
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
User avatar
Martin Ryan
Site Admin
Posts: 1989
Joined: Sat May 10, 2008 9:08 am
OLAP Product: TM1
Version: 10.1
Excel Version: 2010
Location: Wellington, New Zealand
Contact:

Re: Excel hangs whenever spreadsheet is closed

Post by Martin Ryan »

Have you got SP3 of 2003? There were quite a few issues resolved in the service packs of Excel.

Martin
Please do not send technical questions via private message or email. Post them in the forum where you'll probably get a faster reply, and everyone can benefit from the answers.
Jodi Ryan Family Lawyer
telula
Posts: 99
Joined: Tue Nov 18, 2008 5:40 am

Re: Excel hangs whenever spreadsheet is closed

Post by telula »

Jim,
I have the following codes on
Private Sub Workbook_BeforeClose(Cancel As Boolean)
Application.OnKey "{DEL}"
Application.OnKey "{Backspace}"
Run ("N_DISCONNECT")
Application.CutCopyMode = False
ActiveWorkbook.Saved = True
ActiveWorkbook.Close
Application.DisplayAlerts = False
end sub
and
Private Sub Workbook_Open()
Application.Calculation = xlCalculationManual
end sub
I'll have to check if we have SP3
User avatar
jim wood
Site Admin
Posts: 3958
Joined: Wed May 14, 2008 1:51 pm
OLAP Product: TM1
Version: PA 2.0.7
Excel Version: Office 365
Location: 37 East 18th Street New York
Contact:

Re: Excel hangs whenever spreadsheet is closed

Post by jim wood »

Apologies for being a little vague but the setting I refered to are in excel. You get to them by selecting tools then options. From there click on the calculation tab. (To be able to do this you must have the a sheet open. Having the one open that crashes is even better.)

Jim.
Struggling through the quagmire of life to reach the other side of who knows where.
Shop at Amazon
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
Post Reply