Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
SamuelT
 
Posts: n/a
Default Speeding Up A Spreadsheet


Hi all,

I've got a large(ish) spreadsheet with a fairly voluminous amount of
formulas. Due to this it can take quite a while to open and run various
macros that sift data depending on the user. This is fine with me, but a
number of my colleagues are complaining that it takes too long to get
into or sort (obviously never heard of patience being a virtue).

Aside from tinkering with the computer itself, can anyone suggest a
means of speeding up the spreadsheet?

TIA,

SamuelT


--
SamuelT
------------------------------------------------------------------------
SamuelT's Profile: http://www.excelforum.com/member.php...o&userid=27501
View this thread: http://www.excelforum.com/showthread...hreadid=552653

  #2   Report Post  
Posted to microsoft.public.excel.misc
mrice
 
Posts: n/a
Default Speeding Up A Spreadsheet


The simplest way is to turn the screen updating off. At the beginning of
your code put...


Application.screenupdating = False

They they might complain that they can't see anything happening. If
this is the case, true giving an occasional indication that something
is going on by setting the value of the status bar e.g.

Application.StatusBar = "Just started...."
...
...
...
...
Application.StatusBar = "Almost finished...."
...
End Sub


--
mrice

Research Scientist with many years of spreadsheet development experience
------------------------------------------------------------------------
mrice's Profile: http://www.excelforum.com/member.php...o&userid=10931
View this thread: http://www.excelforum.com/showthread...hreadid=552653

  #3   Report Post  
Posted to microsoft.public.excel.misc
mrice
 
Posts: n/a
Default Speeding Up A Spreadsheet


You might also try ridding your code of Select methods. If your macro
was recorded, it will be full of these.

For example..

Range("A1").Select
Selection.interior.colorIndex = 6

becomes

Range("A1").interior.colorIndex = 6


--
mrice

Research Scientist with many years of spreadsheet development experience
------------------------------------------------------------------------
mrice's Profile: http://www.excelforum.com/member.php...o&userid=10931
View this thread: http://www.excelforum.com/showthread...hreadid=552653

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
Working spreadsheet highlighting function for Excel 2007 Mr. Low Excel Worksheet Functions 4 June 16th 06 07:12 PM
How to handle multiple currencies with one spreadsheet Michael Mullican Excel Discussion (Misc queries) 1 October 5th 05 06:18 PM
Using Excel spreadsheet as input to Access dougb415 Excel Discussion (Misc queries) 0 September 22nd 05 03:33 PM
Spreadsheet merging problems Sam B Excel Worksheet Functions 0 September 19th 05 09:05 PM
Linking formula to external spreadsheet Tunde Excel Discussion (Misc queries) 1 March 1st 05 04:05 AM


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