Link to home
Start Free TrialLog in
Avatar of tncraig
tncraig

asked on

Microsoft Excel Not Responding

I created a spreadsheet approximately 10 years ago using excel 97 to keep track of employee 401(k) contributions and employer match.  The format has changed somewhat over the years but the general layout is the same.  There are 13 sheets or tabs, one for each month, and a summary sheet that accumulates YTD contributions, match, and total remittance.   In the beginning we remitted payments to the Trustee once a month so entries were made for the employees as remittances were required.  We also used the totals generated to develop entries to our accounting records.   As the plan grew, requirements for remitting payments to the trustee increased from monthly to weekly  so additional functionality was built into the spreadsheet to accommodate separation of weekly amounts on each monthly sheet while documenting the weekly accounting entries and still allowing YTD amounts to accumulate.  2 macros were added to allow this last bit of functionality.   The spreadsheet worked very well for several years until we upgraded to Office 2007.  The first time that I accessed the file after the upgrade I noticed that it took an excessive amount of time to load.  Data entry in a given cell could take anywhere from immediate up to several seconds depending on which monthly sheet was being worked on.  The months of April, July, September, and November are especially troublesome.   Attempting to run a macro on any of the trouble month sheets could make excel stop working completely.   Copying and pasting data can sometimes take 3-4 minutes to accomplish, that is when it doesn’t make Excel stop responding all together.  When these problems started I would borrow another workstation that was running an earlier version of excel and this worked for a while.  Eventually however, the same problems were encountered with the earlier version of excel.  

I am currently running Microsoft Windows 7 Professional and Office 2010 on an HP Elite 7000 PC with 4GB of Ram.  The processor is an Intel Core i7 860.

I’ve been using Excel for approximately 15 years and Lotus 123 for another 15 years prior, so I consider myself quite experienced with spreadsheets.  I am an accountant not a programmer and I’m certain that there are more efficient and competent users than I.   But I’ve never experienced this kind of performance degradation.  This has become a very frustrating and time consuming issue during certain months (trouble months above) and I get angrier with Microsoft every time I have to deal with it.  I have attempted many things to try to alleviate the problem but to no avail.  I’ve set recalculation to manual, I’ve deleted certain “If” formulas thinking that these were slowing down performance, and I’ve converted the file to an excel macro file format.   Nothing that I’ve tried seems to help.

Can someone offer some help?  I can submit a version of the spreadsheet that has been edited to remove SS#’s, names, etc.  for review.  
Avatar of jason987
jason987

Definitely need more information.  A good start would be to export the macros and attach them.  

Avatar of tncraig

ASKER

Jason987 - thanks for your suggestion.  I have tried this previously with limited success.  It does improve performance somewhat but not dramatically.  Open the attached and select the "Apr" sheet to get an idea of how much time it takes to actually open up.  Then try selecting "Aug" and watch it get worse. 401K-sample.xlsm
Wow, you weren't kidding.  3 minutes in and still loading.  :)
First things first:

Sub calcoff()
Application.Calculation = xlCalculationManual
End Sub

Sub calcon()
Application.Calculation = xlCalculationAutomatic
End Sub

Add those to your modules and run calcoff if you want to work with the file without pulling out your hair. That will turn off the calculations but remember to turn them back on for current data.

Avatar of tncraig

ASKER

Jason987 - thanks for another good suggestion.  After adding the modules and running "calcoff" I attempted to copy information from a group of cells and paste to another part of the worksheet (on "Apr" tab).  After waiting for 4 minutes for excel to complete the operation I gave up and tried to close the file.  As has happened so many times excel locks up and will not close normally.  It will only close through Task manager - end task.
Avatar of zorvek (Kevin Jones)
It's not the calculations. Something else is wrong. Not sure what but I'm looking...

Kevin
SOLUTION
Avatar of jason987
jason987

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of tncraig

ASKER

I certainly didn't format all possible cells but I agree it makes you think that calculations are going on in every cell.  And since problems didn't start until upgrading to Excel 2007 which dramatically increased the # of cells available maybe this is a clue.  But jason987 you're right, it is hard to nail down because the file either is so slow responding or it just locks up.

Thanks for taking a look zorvek.
Dang! This is one messed up workbook! Still messing with the damn thing...
Oh oh...my laptop just caught on fire!

kidding...

The fan is spinning pretty good though.
Avatar of tncraig

ASKER

Kevin - believe me, I have been dealing with this craziness for a couple of years.  I can believe a fire!!
Lol, I had to reboot because ti was making everything swap.
I'm moving over to my Cray...I wonder if Watson can do this...
Avatar of tncraig

ASKER

You guys are making me feel so much better!  I have to go home now but much appreciate everyone who is trying to help.  
You can't go home! I've put my life on hold for you!

No worries...this is now a challenge...
I saved as an Excel 2003 file - 63MB. God help me.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of tncraig

ASKER

Kevin - what a sense of humor!  I've gone absolutely insane over this thing and you are making me lol.  Plus looks like you have solved it in about a nanosecond relative to the time I have spent on it.  I'll have to wait till tomorrow however to actually try it out.  Thank you!!

Chuck
Just in case you were wondering I tried conversions, cut&paste, and a ton of everything else and zorvek has your solution.  There's something epically wrong with that file.  It's actually pretty impressive!  Put it on a thumb drive and hang it on your wall.  :)
Oh Gawd no! Burn it! Bury it! Put it in concrete and toss it in the Hudson. Send it into space on the next (last) space shuttle and jettison it toward the sun.

My laptop is all crispy and covered in that fire extinguisher foam shit. The fan busted out of it's seat, limped out on to the balcony, and jumped.

Oh, wait, I know:

   EdTheExcelPM@microsoft.com
Avatar of tncraig

ASKER

Jason and Kevin - I would like to take all of your suggestions, ie: burn it, bury it, nail it to the wall because I'm completely fed up with it.  I see that the sample file that Kevin saved as a .xls file does solve the issue, however unfortunately I now need to recreate what Kevin did to my actual file.  I've spent the last 2 hours (with interruptions) trying to do just that.  I finally got the reformatted (whoops - the unformatted) version to save as a.xls file and low and behold it is not 403KB but over 89mb.  When I look at the file, although it says it is a .xls file it still has over 16k cols and 1mm rows.  Is there a magic trick to get Excel 2010 to actually save a file in a previous file format other than taking "save as" and selecting excel 97-2003 format?  

I'm completely whipped!!
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of tncraig

ASKER

Kevin and Jason - Thank you for working on this.  I wish I could give you both a few million points just for looking.  Kevin your solution was right on! Jason thanks for getting us going in the right direction.  

Chuck