+ Reply to Thread
Results 1 to 3 of 3

Macro runs slow and adds blanks

  1. #1
    Registered User
    Join Date
    03-07-2017
    Location
    Texas
    MS-Off Ver
    Office 2016
    Posts
    39

    Macro runs slow and adds blanks

    Hey, guys! I came here a few months ago and you all were awesome with the advice you provided. I have a macro that is adding millions of blanks. I added a sub that would delete the blank rows, which works great. However, my customer is wondering if the macro could be sped up. I'm still learning VBA and I inherited this code, so I'm trying my best not to change a whole lot a wreck the whole thing. Basically, I just want to stop the macro from adding blanks in the first place, rather than adding more code that deletes the blank rows AFTER the fact (which I feel would slow down the macro's speed).

    Here's the main code that I'm working with:

    Please Login or Register  to view this content.
    I've gone over it numerous times and I can't see anything that would insert millions of blank rows. Any help would greatly be appreciated. Thanks.
    Last edited by cluelessdood; 02-12-2019 at 11:47 PM.

  2. #2
    Forum Contributor banaanas's Avatar
    Join Date
    08-26-2014
    Location
    Finland
    MS-Off Ver
    2016
    Posts
    199

    Re: Macro runs slow and adds blanks

    Could you attach the workbook?
    Tuomas "Banaanas" Savonius
    Trying to give back now when I actually can do some VBA

  3. #3
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,526

    Re: Macro runs slow and adds blanks

    https://www.mrexcel.com/forum/excel-...ng-blanks.html

+ 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. [SOLVED] Macro runs really slow when going to one sheet
    By cory0789 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-23-2014, 11:38 PM
  2. [SOLVED] Macro with calendar runs slow
    By pezalmendra in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-27-2013, 01:02 PM
  3. Macro adds rows with values, not blanks
    By leaning in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-11-2011, 03:26 PM
  4. Excel2003 Macro runs slow???
    By Infinity in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-07-2006, 01:55 AM
  5. After printing, macro runs slow???
    By Infinity in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-04-2006, 10:38 PM
  6. [SOLVED] Macro runs slow
    By Sandy in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 09-20-2005, 12:05 PM
  7. macro runs slow
    By nanomiter in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-11-2005, 01:06 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