Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 112
Default Running Macros in Excel 2003

When I am running a particular macro in Excel 2003 my PC boggs down terribly.
The PC usage spikes up to 75% or more and it takes a very long time to run.
It appears to be a spooling issue.

Has anyone encountered this? Any suggestions? Could this be a Norton's issues?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,355
Default Running Macros in Excel 2003

I've had macros speed up considerably when I've turned screen updating

Application.ScreenUpdating = FALSE 'at beginning
Application.ScreenUPdating = TRUE 'at end

and turned off calculations

Worksheets("Sheet1").EnableCalculation = FALSE ' at beginning
Worksheets("Sheet1").EnableCalculation = TRUE ' at end

HTH,
Barb Reinhardt

"mickey" wrote:

When I am running a particular macro in Excel 2003 my PC boggs down terribly.
The PC usage spikes up to 75% or more and it takes a very long time to run.
It appears to be a spooling issue.

Has anyone encountered this? Any suggestions? Could this be a Norton's issues?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 112
Default Running Macros in Excel 2003

Thanks Barb. I'll give it a try.

"Barb Reinhardt" wrote:

I've had macros speed up considerably when I've turned screen updating

Application.ScreenUpdating = FALSE 'at beginning
Application.ScreenUPdating = TRUE 'at end

and turned off calculations

Worksheets("Sheet1").EnableCalculation = FALSE ' at beginning
Worksheets("Sheet1").EnableCalculation = TRUE ' at end

HTH,
Barb Reinhardt

"mickey" wrote:

When I am running a particular macro in Excel 2003 my PC boggs down terribly.
The PC usage spikes up to 75% or more and it takes a very long time to run.
It appears to be a spooling issue.

Has anyone encountered this? Any suggestions? Could this be a Norton's issues?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,365
Default Running Macros in Excel 2003

With Norton, all things are possible...

Without knowing what your macro is doing, it's difficult to say what the
cause may be. But since it is (apparently) just the one macro, I suspect
it's the macro itself rather than your security software. Either tell us in
plain words what the macro does, or better yet, post the code here.

In the meantime, the suggestions made by Barb are good ones - I've seen
macros that placed data onto worksheets improve performance by as much as a
factor of 10 just by using the Application.ScreenUpdating = False feature.
And if what ever your macro is doing affects other functions that have to be
recalculated based on what your macro is placing on the sheets, turning the
Calculate of during the process can help - then it will just recalculate
everything at the end of the process.

"mickey" wrote:

When I am running a particular macro in Excel 2003 my PC boggs down terribly.
The PC usage spikes up to 75% or more and it takes a very long time to run.
It appears to be a spooling issue.

Has anyone encountered this? Any suggestions? Could this be a Norton's issues?

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
Running macros on ALL Excel tabs tbong Excel Worksheet Functions 1 June 7th 06 08:52 PM
Anyone have troubles running 2003 macros in 2000 version of Excel Jim Excel Discussion (Misc queries) 0 April 19th 06 02:15 PM
I am running Excel 2003 from Office 2003 Professional Tillso Excel Discussion (Misc queries) 1 October 21st 05 03:27 PM
Running macros when Excel starts up Solly Excel Discussion (Misc queries) 1 July 13th 05 11:38 AM
Macros running slow in Excel 2003 ebeltran Excel Discussion (Misc queries) 0 March 8th 05 08:30 PM


All times are GMT +1. The time now is 10:34 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"