Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Excel gets slower and slower....

I use a workbook on Excel 2002 and windows XP. It is used to display reports
built with VB code.

When the users display many reports, the Excel becomes slower and slower. I
check my code and all objects are cleaned after their use. DO you have
already met problems of memory leak? Is it possible to clean memory using VB?

thanks for your help!


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,163
Default Excel gets slower and slower....

This does not have to be a memory leak; are all the reports open at the same
time? If so you may be taxing your system's resources. Also, if the user
edits any cells it may be recalculating all the open workbooks.

Use the Windows Task Manager to see how much memory you are using, and also
to see if you are closing down Excel completely (might show multiple hidden
instances of Excel in the task list) as well as to monitor performance (see
how much of your CPU time is being used by Excel). Try setting the
calculation mode to manual if you can to avoid problems with recalculation
(but remember to recalculate when needed/set it back to automatic when done).

"Romuald" wrote:

I use a workbook on Excel 2002 and windows XP. It is used to display reports
built with VB code.

When the users display many reports, the Excel becomes slower and slower. I
check my code and all objects are cleaned after their use. DO you have
already met problems of memory leak? Is it possible to clean memory using VB?

thanks for your help!


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Excel gets slower and slower....

Clean out your temp directory

Also, if it is your code that is getting slower, then make sure you set

ActiveSheet.DisplayPageBreaks = False

anytime they might get displayed.

You might check out Charles Williams' site
http://www.decisionmodels.com

he has some pages on Excel and performance.

--
Regards,
Tom Ogilvy

"Romuald" wrote in message
...
I use a workbook on Excel 2002 and windows XP. It is used to display

reports
built with VB code.

When the users display many reports, the Excel becomes slower and slower.

I
check my code and all objects are cleaned after their use. DO you have
already met problems of memory leak? Is it possible to clean memory using

VB?

thanks for your help!




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Excel gets slower and slower....

OK thanks. I will try.

I use only one workbook that uses one sheet to display different reports.
The reports are built using Copy/Paste from another sheet.



"Tom Ogilvy" wrote:

Clean out your temp directory

Also, if it is your code that is getting slower, then make sure you set

ActiveSheet.DisplayPageBreaks = False

anytime they might get displayed.

You might check out Charles Williams' site
http://www.decisionmodels.com

he has some pages on Excel and performance.

--
Regards,
Tom Ogilvy

"Romuald" wrote in message
...
I use a workbook on Excel 2002 and windows XP. It is used to display

reports
built with VB code.

When the users display many reports, the Excel becomes slower and slower.

I
check my code and all objects are cleaned after their use. DO you have
already met problems of memory leak? Is it possible to clean memory using

VB?

thanks for your help!





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
macros making files slower and slower Raja Excel Discussion (Misc queries) 1 May 9th 08 12:26 AM
Subtotal seem slower in Excel 2003 ruffnro Excel Worksheet Functions 0 March 8th 05 07:07 PM
Automation from VB - slower than from Excel Rhys Excel Programming 0 April 19th 04 02:21 PM
Macro run much slower under VBA than in Excel Bin Excel Programming 0 July 25th 03 11:40 PM


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