Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default Macros go slower than a turtle in mud

I do not know what the exact problem is, but on some machines, my
macros I have created (like my machine) run like the wind just as I
intend them to...but on other machines, they run like a one legged man
with a bad knee. WHY?!?!

The machines might be the exact same running the same service packs
and patches. Some days, the macros run fast too. What the hell is
happening to my macros? Do they take union breaks or something?

Thanks in advance
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default Macros go slower than a turtle in mud

Hard to tell if you don't give us the code.

One thought: Are your machines that race like the wind set for Manual
Calculation?
(You can set that in your macro, then set it back when it exits:

Dim oldCalcMode As Long
With Application
oldCalcMode = .Calculation
.Calculation = xlCalculationManual
End With

'your code

Application.Calculation = oldCalcMode

You might take a look at Charles Williams' site, both for speed tips and
for his FastExcel application:

http://www.decisionmodels.com/optspeed.htm

In article ,
(BOHICA) wrote:

I do not know what the exact problem is, but on some machines, my
macros I have created (like my machine) run like the wind just as I
intend them to...but on other machines, they run like a one legged man
with a bad knee. WHY?!?!

The machines might be the exact same running the same service packs
and patches. Some days, the macros run fast too. What the hell is
happening to my macros? Do they take union breaks or something?

Thanks in advance

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default Macros go slower than a turtle in mud

And if you're inserting/deleting rows or columns, then if the user is showing
the pagebreaks, then your macro could slow down--xl want's to determine where
those little dashed lines go after each change.

Try putting something like this at the top of your code:
ActiveSheet.DisplayPageBreaks = False

And make sure you have screenupdating turned off. But if it were on, it would
have affected all pcs.

Application.screenupdating = false
'''your code
application.screenupdating = true



BOHICA wrote:

I do not know what the exact problem is, but on some machines, my
macros I have created (like my machine) run like the wind just as I
intend them to...but on other machines, they run like a one legged man
with a bad knee. WHY?!?!

The machines might be the exact same running the same service packs
and patches. Some days, the macros run fast too. What the hell is
happening to my macros? Do they take union breaks or something?

Thanks in advance


--

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
Filtered columns slower than others XLFanatico Excel Discussion (Misc queries) 0 November 12th 09 02:31 PM
Cartier Tortue Limited Edition Turtle Motif 18kt Yellow Gold MensWatch WA507451 Collection [email protected] Excel Worksheet Functions 0 November 5th 08 01:50 AM
macros making files slower and slower Raja Excel Discussion (Misc queries) 1 May 9th 08 12:26 AM
HELP! Do While...Loop slower as it proceeds??? Haettner Excel Programming 4 October 20th 03 02:39 PM


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