LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Macro speed decreesing after each run

I have a macro that refreshes a query to a database on the network,
returns the data and then the macro goes thru the data and creates a
formated output of just the data from the query that is needed. It
deletes most of the lines of data from the query and only keeps the
few that it needs.
My problem is that every time I run the macro it takes 4-5 seconds
longer each time. Here are my timings, 8,12,17,21,25,30,34,38,42,47
I have searched on clearing memory and have not found anything
helpfull. I have turned off autocaclulate and other correction options
in Excel but see the same increase in run time.
If I close the spreadsheet and open it again it start over at about 8
seconds and each sucsesive run takes 4-5 seconds longer again. I do
have a user form that pops up but it gets unloaded.

Anythought sour suggestions as to where to start looking?

Thanks
Scott
 
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
Speed of Macro on 2 PC misskh Excel Programming 1 July 13th 10 11:46 AM
Speed up macro TGalin Excel Programming 3 October 31st 09 02:16 AM
Need to Speed Up A Macro LostInNY Excel Programming 2 July 20th 09 06:37 PM
Speed Up this macro? Joe2007 Excel Programming 20 November 5th 07 07:18 PM
Speed-up a macro! maca[_3_] Excel Programming 3 July 15th 05 06:40 PM


All times are GMT +1. The time now is 09:26 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"