Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Macro slow (worked well until I upgraded my machine)

I am doing an iterative hide of columns that of all but ones which meet the
day of the week criteria. The macro ran fine for years through the upgrade
from 2003 to office 2007.

I have just upgraded my machine to a more powerful machine and my macro now
takes has increased processing time by 50 to 60 times for this iterative hide.

I have noticed that machines that went through the office 2003 installation
prior to 2007 still run it fine.

Example dell latitude d620 that never had 2003 takes 2 to 3 minutes to
complete. same type of laptop that did go through the path takes
approximately 2 seconds on a slow day.

finally my dual core optiplex 760 with 3 gig or ram takes several minutes.

outside of installing office 2003 on dozens of machines and then upgrading
to 2007 is there a solution?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 395
Default Macro slow (worked well until I upgraded my machine)

One thing I'd check (and maybe the experts can chime in on whether this
actually affects processing time to the extent you are describing); on your
upgraded machine, is XL07 running in "compatibility mode"? Create a new
worksheet on both machines, and scroll to the right to see the last column.
If it is IV on the upgraded machine, but in the triple digits for the regular
2007 machines, that might be part of the problem depending on how you set up
your code (e.g. does it check columns 1-100 or does it check "each column in
columns").

Either way, Barb's suggestion is a good one. Also, do you turn of
calculation and screenupdating at the top of your code block, and turn them
back on at the bottom?

HTH,
Keith


"Epidemic" wrote:

I am doing an iterative hide of columns that of all but ones which meet the
day of the week criteria. The macro ran fine for years through the upgrade
from 2003 to office 2007.

I have just upgraded my machine to a more powerful machine and my macro now
takes has increased processing time by 50 to 60 times for this iterative hide.

I have noticed that machines that went through the office 2003 installation
prior to 2007 still run it fine.

Example dell latitude d620 that never had 2003 takes 2 to 3 minutes to
complete. same type of laptop that did go through the path takes
approximately 2 seconds on a slow day.

finally my dual core optiplex 760 with 3 gig or ram takes several minutes.

outside of installing office 2003 on dozens of machines and then upgrading
to 2007 is there a solution?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro slow (worked well until I upgraded my machine) Barb Reinhardt Excel Programming 0 December 15th 09 05:04 PM
Shared worked very slow to open Jo Excel Discussion (Misc queries) 0 April 24th 09 04:59 AM
upgraded from 200 to 2007- modify macro menus SteveDB1 Excel Programming 9 April 7th 07 06:20 PM
Can Excel 2000 be upgraded alone to 2003 on an NT4 machine? Andymak252 Excel Discussion (Misc queries) 1 January 11th 05 11:53 AM
Excel running really slow on my machine tommy bobit Excel Programming 2 September 15th 03 01:25 PM


All times are GMT +1. The time now is 11:52 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"