+ Reply to Thread
Results 1 to 2 of 2

how to improve this VBA code to make it faster

  1. #1
    Registered User
    Join Date
    10-02-2017
    Location
    Sweden
    MS-Off Ver
    365 with Dynamic Arrays
    Posts
    90

    Question how to improve this VBA code to make it faster

    I use the code below, to import another large file into my template. it works but sometimes freezes and is slow.

    am i doing something wrong on this code that causes freezing. is there a more efficient (neat) way to do this?

    any help is appreciated.

    Please Login or Register  to view this content.

  2. #2
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: how to improve this VBA code to make it faster

    On this line..
    Please Login or Register  to view this content.
    you should be able to get rid of the 2 DisplayAlerts line since it is already disabled at the beginning of your code.
    Also, the following line at the end of your code should be set to True instead of False.
    Please Login or Register  to view this content.
    I'n not sure if either of these will help speed it up though.
    1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG
    You don't have to add Rep if I have helped you out (but it would be nice), but please mark the thread as SOLVED if your issue is resolved.

    Tom

+ 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. How to make code shorter and faster
    By ssaidli in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-12-2017, 10:56 AM
  2. [SOLVED] Need make code faster.
    By abjac in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 05-28-2016, 04:21 AM
  3. How to make my code faster?
    By chrisignm in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-12-2016, 08:08 PM
  4. [SOLVED] Make code Faster
    By zplugger in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-30-2013, 10:08 AM
  5. Make VBA code faster
    By Danielle22 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-28-2013, 09:01 AM
  6. Replies: 1
    Last Post: 09-24-2013, 11:00 AM
  7. [SOLVED] Make code run faster
    By ozhunter in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-20-2013, 04:26 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