Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 397
Default Excel slowing down....



Hi Guys,

After running several complex macros Excels perfomrance noteably drops.
Im assuming its because the cache is full of previously copied and
stored information..(which may or may not be the only reason...)

Is there a way to force clear this at the end of running some VB, in an
attempt to maintain a consistent speed.

(PErformance increased if you quit out of Excel and then start again...)

Thoughts...?

thanks!

Regards

D

*** Sent via Developersdex http://www.developersdex.com ***
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Excel slowing down....

If you can see the pagebreak dotted lines, then excel will slow down.
If you're in View|Page break preview mode, then excel will slow down.

Turning off .screenupdating and changing the .calculationmode to manual may help
speed things up:

Option Explicit
Sub testme()

Dim CalcMode As Long
Dim ViewMode As Long

Application.ScreenUpdating = False

CalcMode = Application.Calculation
Application.Calculation = xlCalculationManual

ViewMode = ActiveWindow.View
ActiveWindow.View = xlNormalView

'your code here

'put things back to what they were
Application.Calculation = CalcMode
ActiveWindow.View = ViewMode
Application.ScreenUpdating = True

End Sub

Darin Kramer wrote:

Hi Guys,

After running several complex macros Excels perfomrance noteably drops.
Im assuming its because the cache is full of previously copied and
stored information..(which may or may not be the only reason...)

Is there a way to force clear this at the end of running some VB, in an
attempt to maintain a consistent speed.

(PErformance increased if you quit out of Excel and then start again...)

Thoughts...?

thanks!

Regards

D

*** Sent via Developersdex http://www.developersdex.com ***


--

Dave Peterson
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
Borders slowing filter process in Excel 2003 Denz Excel Discussion (Misc queries) 1 September 4th 08 11:23 PM
Excel File Slowing Down after Macros Added Lee Excel Programming 1 October 26th 06 12:24 PM
excel 2003 slowing down Ron Excel Discussion (Misc queries) 0 October 19th 06 03:22 PM
Excel slowing down during usage cbernad Excel Discussion (Misc queries) 3 August 18th 06 08:01 PM
Excel Slowing To A Crawl Paul W Smith[_3_] Excel Programming 12 November 17th 03 06:55 PM


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