processing speed
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Excel VBA Training and help » Processing Speed

Processing Speed

resolvedResolved · Low Priority · Version 2007

replyReply Wed 13 May 2009, 12:38Delegate Igor said...

Processing Speed

Macros I develop on my computer are generally very slow on other machines that my colleagues use. I was wondering whether there is best practice to minimize the chance on the file crashing on slower computers, apart from choosing correct variable types so they do not take unnecessary space.

Thank you.

For upcoming training course dates see: Pricing & availability

replyReply Thu 14 May 2009, 08:54Trainer Stephen said...

RE: Processing Speed

Hi Igor

Thank you for your question

Macro speed is determined by a combination of PC memory, processor speed and the amount of data that is being manipulated. Operations can be speeded up by:

1. Switching screen updating off.
2. Avoid selecting cells in your code.(Note this is impossible when using recorded macros)

Also, when working with large amounts of data proceedings can be speeded up by processing the data in an array. This technique is covered on our Excel VBA advanced course.

Regards

Stephen

Wed 20 May 2009: Automatically marked as resolved.

 

Please browse our web site to find out more about
excel training courses uk and other Microsoft training courses.

Excel tip:

Create a unique items table from a duplicating table

1. Ensure that your list has column headings
2. Select the entire list
3. From the menu bar, select DATA, FILTER, ADVANCED FILTER
4. Select "Filter the list, in place", and tick the "Unique Records Only" box
5. Click OK, filtered list appears.

View all Excel hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard