+ Reply to Thread
Results 1 to 2 of 2

Quicker way to loop than using Do Until and Activate

  1. #1
    Registered User
    Join Date
    02-20-2009
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    92

    Quicker way to loop than using Do Until and Activate

    Hi,

    I've built a loop that seems to be pretty slow. I know there are quicker solutions and I was hoping someone can help me out. Its a pretty simple set of code:

    Please Login or Register  to view this content.
    It basically adds 10 empty rows under the active cell and adds a formula 8 columns to the right and then moves 11 rows down and repeats. There are typically 500+ rows of data. It takes 2-3 minutes to get through the macro. I'd like it to be quicker. Thanks for the help!
    Last edited by starcraftbud; 07-28-2015 at 04:54 PM.

  2. #2
    Valued Forum Contributor blane245's Avatar
    Join Date
    02-20-2009
    Location
    Melbourne, FL
    MS-Off Ver
    Excel 2010
    Posts
    649

    Re: Quicker way to loop than using Do Until and Activate

    You might try to avoid the use of cell activation by using range objects only
    Please Login or Register  to view this content.
    Bob
    Click my star if my answer helped you. Mark the thread as [SOLVED] if it has been.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. A quicker way to use a loop
    By bkeat in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-08-2014, 11:57 AM
  2. Quicker way to loop through WorksheetFunction?
    By newbi004 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-07-2013, 05:11 AM
  3. loop worksheets find date in cell activate worksheet
    By cdy3900 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-11-2013, 02:39 PM
  4. Replies: 3
    Last Post: 10-10-2012, 05:10 PM
  5. Loop Through Active Windows and Activate
    By realniceguy5000 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 11-02-2011, 07:44 AM
  6. Avoid using .activate during loop
    By Rhapsodie in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-06-2008, 05:12 PM
  7. Replies: 5
    Last Post: 06-05-2007, 10:06 AM
  8. Workbook.Activate / Window.Activate problem
    By Tim in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-03-2006, 07:40 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1