Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Excel macro in 2007 runs extremely slow

I have this macro that typically ran from 12-15 minutes in Excel 2003. There
is alot of computations, and moving data(small data) around. On a similar PC
it takes about 60-70 minutes when it runs on Excel 2007 with SP1.

Other smaller macros take about the same time in both Excel 2003 & Excel
2007. This has me perplexed.

Any ideas ?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6,582
Default Excel macro in 2007 runs extremely slow

Tell Microsoft about it:

http://blogs.msdn.com/excel/archive/...requested.aspx

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services, Inc.
http://PeltierTech.com/WordPress/
_______


"Acie" wrote in message
...
I have this macro that typically ran from 12-15 minutes in Excel 2003.
There
is alot of computations, and moving data(small data) around. On a similar
PC
it takes about 60-70 minutes when it runs on Excel 2007 with SP1.

Other smaller macros take about the same time in both Excel 2003 & Excel
2007. This has me perplexed.

Any ideas ?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,365
Default Excel macro in 2007 runs extremely slow

As someone else noted recently (with sly grin on their face), the apparent
difference in performance of 2007 vs 2003 is a 'feature' of 2007.

You're probably going to need to look hard at your code and what it is
doing, and how it is doing it to get performance improvement.

However, one thing that can improve performance dramatically is the simple
inclusion of the
Application.ScreenUpdating=FALSE
statement near the beginning of your macro code. That keeps the sheets
displayed from having to be refreshed with each new calculation/data move, or
when you jump around in the workbook via sheetName.Activate in your code.

You might take a look at www.DecisionModels.com for other helpful hints.


"Acie" wrote:

I have this macro that typically ran from 12-15 minutes in Excel 2003. There
is alot of computations, and moving data(small data) around. On a similar PC
it takes about 60-70 minutes when it runs on Excel 2007 with SP1.

Other smaller macros take about the same time in both Excel 2003 & Excel
2007. This has me perplexed.

Any ideas ?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 226
Default Excel macro in 2007 runs extremely slow

I tried adding the statement Application.ScreenUpdating=FALSE
to my two Macros.
There was an improvement. Adding a single cell reference formula now only
takes 1:45 instead of 3 minutes.
See my other posts under "Excell 2007 - Slow &can;t run macros" of 3/1/2009

"JLatham" wrote:

As someone else noted recently (with sly grin on their face), the apparent
difference in performance of 2007 vs 2003 is a 'feature' of 2007.

You're probably going to need to look hard at your code and what it is
doing, and how it is doing it to get performance improvement.

However, one thing that can improve performance dramatically is the simple
inclusion of the
Application.ScreenUpdating=FALSE
statement near the beginning of your macro code. That keeps the sheets
displayed from having to be refreshed with each new calculation/data move, or
when you jump around in the workbook via sheetName.Activate in your code.

You might take a look at www.DecisionModels.com for other helpful hints.


"Acie" wrote:

I have this macro that typically ran from 12-15 minutes in Excel 2003. There
is alot of computations, and moving data(small data) around. On a similar PC
it takes about 60-70 minutes when it runs on Excel 2007 with SP1.

Other smaller macros take about the same time in both Excel 2003 & Excel
2007. This has me perplexed.

Any ideas ?

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
Extremely slow subtotals in Excel 2003 GARY Excel Discussion (Misc queries) 3 April 16th 07 09:21 PM
Excel extremely slow opening ChrisW (MCP) Setting up and Configuration of Excel 2 March 23rd 07 07:16 PM
Excel and Word EXTREMELY slow to open Tom_in_Jersey Excel Discussion (Misc queries) 4 January 31st 07 10:05 PM
Office 2000 Excel Macro runs very slow in 2003, why? The_Other_Mike Excel Discussion (Misc queries) 1 May 10th 06 04:36 PM
Excel extremely slow opening and using domestic911 Excel Discussion (Misc queries) 2 January 26th 05 08:51 PM


All times are GMT +1. The time now is 03:31 PM.

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

About Us

"It's about Microsoft Excel"