Good file gone bad... Not a virus - So Why?

SusaninHouston

Active Member
Joined
Jan 13, 2005
Messages
295
Here's the whole story:
(For those who don't want to wade through, I think it's something with the screen refresh)

I have a large, complicated workbook in use by approximately 50 different people. Each person has his/her own copy of the workbook that has the same format and formulas, but data specific to that entity. I also have a 'master copy'.

The workbook is large, well-protected and contains macros but no links. I am a memory-conscious developer, so there's not a lot of 'fluff' in the workbook. I avoid things like formatting entire columns or rows, referring to entire rows/columns/sheets in lookups, and most other common and well-publicized design flaws. I always test for 'last cell' issues and blown range names, and always run my models through 'cleaner' programs, and they almost never shrink much -- I'm going to ask you to trust me on this.

So what I'm running into now is this: I issued a revised version that had some minor VB Code changes, and the users transferred their data from the Old version to the New using a macro contained in the New file. That macro used a combination of Copy-Paste-Value and Copy-Paste-All commands.

For about 35 of the users, that upgrade went without a hitch, and their new version files are working fine. But for about 15 of them, their new files now run *painfully* slowly. I'll refer to these files as 'healthy' and 'sick'. I had one of the users send in a sick file, and compared it to my master (healthy) and to another user's healthy file. Other than the performance speed, I found no differences.

Things I checked:
- Last cells (same, no extra)
- Links (none)
- Range Names (no errors)
- Conditional formatting (same for all, some duplication, but eliminating didn't cure)
- Turned off auto-calc -- no speed difference
- Picture/Icon duplication (no difference, no duplications)
- Excel versions (all using 2007)
- Virus scan (none found)
- No extra worksheets

I also tried importing from a sick file into a copy of my healthy file -- which then became sick. I also tried importing from a healthy file into a sick file -- which stayed sick.

This is where things get REALLY WEIRD:

-- The slowness is *not* so pronounced in calculation speed, but is most evident in *screen refresh* activities. Things like cursor movement or PageDown, my 'GoTo' macro that hops from named range to named rage, or the refresh-rate after moving between worksheets.

-- Also, it's really only *one worksheet* (there are about 20 in the model) where this slowness is evident, and in that worksheet, it's really, really bad. (PageDown, PageDown, PageUp, PageUp takes about 2-3 seconds to complete with incomplete screen refreshes) Of course, the worksheet in question is the most important one...

Any ideas?
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
Nice bullseye :beerchug:
Thank you Xenou! One more new for me English word went to my vocabulary :)
My lazy passive method to study language sounds like "Wow! English is similar to VBA!" :biggrin:

BTW, workbook with numerous small objects is slowed down only in new versions of Excel 2007, 2010 but fast in Excel 2003 even being loaded via converter of the latter.
Regardless of workbook's file type Excel 2007+ is slow in this case.
Looks like the overloaded transformation of XML markup into internal memory format of application at navigation in a window.
And for regret it concerns any windows of application even of its VBE window.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,602
Messages
6,179,844
Members
452,948
Latest member
UsmanAli786

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top