Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() 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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Borders slowing filter process in Excel 2003 | Excel Discussion (Misc queries) | |||
Excel File Slowing Down after Macros Added | Excel Programming | |||
excel 2003 slowing down | Excel Discussion (Misc queries) | |||
Excel slowing down during usage | Excel Discussion (Misc queries) | |||
Excel Slowing To A Crawl | Excel Programming |