Solved

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

Posted on 2010-11-12
3
486 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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Dealing with unintended Excel Active-X resizing quirks (VBA code simulates "self correction") David Miller (dlmille) Intro Not everyone is a fan of Active-X controls in spreadsheets (as opposed to the UserForm approach, the older Form controls …
Drop Down List with Unique/Distinct Values (Part II - ComboBox or ListBox and Data Validation List Bonus!) David Miller (dlmille) Intro This article focuses on delivering unique, sorted lists to list objects (e.g., ComboBox, ListBox) and Dat…
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

762 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now