Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default speeding up a macro

Is there any additional code or setting that I can use to
speed up a macro?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 550
Default speeding up a macro

Brenda,

It all depends...
You could post the macro here and someone would surely
take a look at it.

Some hints on speeding things up.....
Application.ScreenUpdating = False
at the beginning of your code
and
Application.ScreenUpdating = True
at the end of your code is one of the simplest methods to
spped things up. (If you can see your screen bouncing around
to different places while the code is running, this is sure to help).

Try the above and if it doesn't help, post back with the code
you're trying to optimize.

John



Brenda wrote:

Is there any additional code or setting that I can use to
speed up a macro?


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27
Default speeding up a macro

Use: Application.ScreenUpdating = False
After: Application.ScreenUpdating = True



Uzytkownik "Brenda" napisal w wiadomosci
...
Is there any additional code or setting that I can use to
speed up a macro?



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 576
Default speeding up a macro

Brenda,

Get rid of select (big performance hit)
Range("A1").Select
Selection.Value = 5
can be
Range("A1").Value = 5

If there is a lot of calculation
set calculation to manual at the beginning
and reset it to auto at the end.

--
sb
"Brenda" wrote in message
...
Is there any additional code or setting that I can use to
speed up a macro?



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 96
Default speeding up a macro

These links have a collection of tips for optimizing code.

http://www.cpearson.com/excel/optimize.htm
http://www.microsoft.com/officedev/a...pg/013/013.htm

HTH
Paul
--------------------------------------------------------------------------------------------------------------
Be advised to back up your WorkBook before attempting to make changes.
--------------------------------------------------------------------------------------------------------------
On Wed, 20 Aug 2003 12:13:49 -0700, "Brenda"
wrote:

Is there any additional code or setting that I can use to
speed up a macro?




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
Speeding up Excel calculations JP Ronse Excel Worksheet Functions 11 March 1st 10 03:23 PM
Simplifying/speeding up this formula Keith R Excel Worksheet Functions 5 August 17th 07 02:13 AM
Speeding up calculations sb1920alk Excel Discussion (Misc queries) 10 October 10th 06 09:46 PM
Speeding Up A Spreadsheet SamuelT Excel Discussion (Misc queries) 2 June 16th 06 10:04 PM
Speeding Saving Process Carobar Excel Discussion (Misc queries) 2 June 17th 05 01:56 AM


All times are GMT +1. The time now is 05:59 AM.

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"