Solved

Excel format options that make performance problems after converting xls to xlsx

Posted on 2010-11-12
3
493 Views
Last Modified: 2012-05-10
Hi Experts

We have some old XLS (2003)  files that were converted into XLSX (2007). Some of them have only a few cells with less functions but extreme performance problems. Have a look at the file and copy the A1/G23 area and paste it somewhere within the file. If I do this twice, it takes about 1 GB RAM for the copy...the file is 23 KB!

If I delete all formats, it works as fast as it should. It takes about 2 minutes to delete all formats..unbelievable! If I save the file as an XML and resave that XML as an XLSX, it's again as fast as it should! So there have to be a format option that could not be converted correctly. There have to be a big overload within the formating options. If I delete the background, reset the font to default, remove all borders, set the align and vertical-align to default and format the cells as Standard, the problem still consists! What kinda formating option could cause such problems?

We are running Win 7 32 Bit with Core2Duo (2.53 GHz) and 4  GB Ram. That's obviously not the problem. It's also not an option to convert all files to xml and back. We have a lot files with macros and other "complex" stuff. I'm searching for the formating options that are causing such performance  problems. A better workaround than saving as XML and back would also be great..but, there should be no possible loss as it is by saving as XML!

Thanks in advance

PS: It's the same in Office 2010. And...the converted files are already in use, so we cannot use the old xls files as base.
testfile.xlsx
0
Comment
Question by:Psymonious
  • 2
3 Comments
 
LVL 85

Accepted Solution

by:
Rory Archibald earned 500 total points
ID: 34121373
You have 1,956 conditional formatting rules applied to that range, which is why it freaks Excel out when you copy it. If you clear them, it's fine.
HTH
Rory
0
 
LVL 1

Author Closing Comment

by:Psymonious
ID: 34135375
Thanks Rory, it seems that I was blind.
How did you count the rules, have you any tool to analyze the excel files?
0
 
LVL 85

Expert Comment

by:Rory Archibald
ID: 34135392
I had a quick look in the dialog, saw there were a lot, and wrote some code to count them. It's most commonly either that or invisible shapes that seem to have these sorts of effects, but invisible shapes tend to make the file size larger, so I started with the CF.
0

Featured Post

ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question