+ Reply to Thread
Results 1 to 3 of 3

excel VBA increase speed/efficiency to current code

  1. #1
    Registered User
    Join Date
    10-25-2017
    Location
    United States
    MS-Off Ver
    2019
    Posts
    63

    excel VBA increase speed/efficiency to current code

    I have a code that hides entire rows if cells in range A23:A72 are blank, but it doesn't seem very efficient speed wise since it goes cell by cell. Is there a faster way to write this code?

    Please Login or Register  to view this content.
    Thank you for the assistance!

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,484

    Re: excel VBA increase speed/efficiency to current code

    Use AutoFilter. Record a macro while you filter on column A.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    10-25-2017
    Location
    United States
    MS-Off Ver
    2019
    Posts
    63

    Re: excel VBA increase speed/efficiency to current code

    @TMS - I recorded a macro and it filters for blanks, but I want to remove the filter at the end of the macro without those blank rows showing up again. Is that possible?

+ 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. looking to increase speed of vba code, I currently use for loops.
    By unrealneoguy in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-13-2018, 09:58 AM
  2. Can Someone Please Adjust This Code to Increase Speed?
    By smcmahon83 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-14-2015, 03:09 PM
  3. Efficiency/Speed Question
    By beat in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-15-2012, 07:04 AM
  4. Speed/Efficiency Problem
    By John Bates in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-29-2010, 09:07 PM
  5. improving speed and efficiency
    By wishmaker in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-14-2010, 11:08 AM
  6. Speed/Efficiency for If-Else Construct
    By CrazyFileMaker in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-21-2009, 04:53 AM
  7. How to increase speed in Excel processing
    By ROLLET in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-09-2008, 04:11 AM

Tags for this Thread

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