Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Running macros on ALL Excel tabs | Excel Worksheet Functions | |||
Anyone have troubles running 2003 macros in 2000 version of Excel | Excel Discussion (Misc queries) | |||
I am running Excel 2003 from Office 2003 Professional | Excel Discussion (Misc queries) | |||
Running macros when Excel starts up | Excel Discussion (Misc queries) | |||
Macros running slow in Excel 2003 | Excel Discussion (Misc queries) |