[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

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

Posted on 2010-11-12
3
Medium Priority
?
505 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 85

Accepted Solution

by:
Rory Archibald earned 2000 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

Enroll in October's Free Course of the Month

Do you work with and analyze data? Enroll in October's Course of the Month for 7+ hours of SQL training, allowing you to quickly and efficiently store or retrieve data. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

656 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