Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
|
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 5th, 2007, 08:49 PM
Registered User
 
Join Date: Oct 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Speed up macro - deleting rows

Hi,

In my workbook I am generating new sheets with macros. In each new sheet certain rows (using custom auto filter) need to be deleted from the initial sheet. There are also formulas in the sheets. Deleting the rows takes forever. Is there any way I can speed it up?

Thanks for your help

Tried the codes, didn't work. I got it to work a little faster, don't know how, though. Just saved it under a different name and the macros were faster.
 
Old October 8th, 2007, 02:18 PM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 168
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

Turn of ScreenUpdating and Automatic calculation


Application.ScreenUpdatind=False
Application.Calculation=xlCalculationManual

'Your Code

Application.ScreenUpdatind=True
Application.Calculation=xlCalculationAutomatic

-vemaju





Similar Threads
Thread Thread Starter Forum Replies Last Post
Speed up macro EricB123 Excel VBA 1 April 30th, 2007 11:39 AM
Failure to speed up macro jeroen999 Excel VBA 1 May 16th, 2006 05:39 AM
speed up macro Pindacko Excel VBA 1 April 27th, 2006 01:41 PM
speed up macro Excel VBA crmpicco Excel VBA 8 December 21st, 2005 11:17 AM
Deleting table using Macro in Access sunny76 Access VBA 2 July 5th, 2005 09:18 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.