+ Reply to Thread
Results 1 to 5 of 5

Help to speed up code

  1. #1
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,157

    Help to speed up code

    Hi All

    I have the below code that hides rows based on values and once prints, restores.
    It is a wee bit slow...Can anyone please assist.

    Please Login or Register  to view this content.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Help to speed up code

    Maybe just hide the found rows all at once:
    Please Login or Register  to view this content.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,882

    Re: Help to speed up code

    Hello. try this code
    Please Login or Register  to view this content.
    Last edited by YasserKhalil; 12-15-2016 at 07:43 AM.
    < ----- Please click the little star * next to add reputation if my post helps you
    Visit Forum : From Here

  4. #4
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,157

    Re: Help to speed up code

    Hi JBeaucaire

    Thanks for input. Works faster.

  5. #5
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,157

    Re: Help to speed up code

    Hi YasserKhalil

    Thanks for input.
    I get a runtime error on following line:
    Please Login or Register  to view this content.

+ 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. Speed up code
    By relo in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 10-15-2015, 10:46 AM
  2. [SOLVED] VBA Delete Row Code - Need more efficient code to speed it up
    By matcapir in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-02-2015, 04:32 PM
  3. [SOLVED] Speed up the code
    By YasserKhalil in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-23-2015, 12:03 PM
  4. [SOLVED] How to Speed Up the code ?
    By joh46k in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-03-2013, 09:42 PM
  5. Way to speed up VBA code
    By lalbatros in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-12-2007, 03:10 AM
  6. [SOLVED] Speed up Code?
    By Sige in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-27-2005, 02:05 PM
  7. Speed up code
    By Derick Hughes in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-08-2005, 02: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