vba courses london - is there way 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 VBA Training and help » vba courses london - Is there a way to speed up macros

vba courses london - Is there a way to speed up macros

resolvedResolved · Low Priority · Version Standard

replyReply Thu 7 Dec 2006, 15:01Delegate Priya said...

Priya has attended:
Excel VBA Intro Intermediate course

Is there a way to speed up macros

I have macro that takes about 4-5 minutes to run and I wanted to find out if there is a way to speed this process up. Is this an excel problem or a hardware problem

For upcoming training course dates see: Pricing & availability

replyReply Thu 7 Dec 2006, 15:53Trainer Garry said...

RE: Is there a way to speed up macros

Speed up code and stop screen flickering:
type at the begin of the macros

Application.ScreenUpdating=False
'Your code here.

Application.ScreenUpdating=True

 

Vba tip:

Suspend DisplayAlerts in VBA

To stop Excel asking you things like "Do you want to delete this file...", use the following line of code at the beginning of the relevant VBA procedure:

Application.DisplayAlerts = False

At the end of the procedure make sure you use the following code to reactivate Display Alerts:

Application.DisplayAlerts = True

View all VBA 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