+ Reply to Thread
Results 1 to 4 of 4

Copy & Insert optimisations

  1. #1
    Registered User
    Join Date
    11-12-2012
    Location
    Paris
    MS-Off Ver
    Excel 2010
    Posts
    17

    Cool Copy & Insert optimisations

    Hello,

    I use this code to copy a row and insert it juste below :

    Please Login or Register  to view this content.
    It works but is there any optimisations to do to speed up the code ?
    I though about the "Destination" tag that is used to Copy/Paste but didn't found it for ".Insert".
    I also though about copying only formula (and don't Clear Contents), but didn't found how to do it correctly.

    Could you help me please ?

  2. #2
    Forum Expert JasperD's Avatar
    Join Date
    05-07-2013
    Location
    Netherlands
    MS-Off Ver
    Excel 2016
    Posts
    1,393

    Re: Copy & Insert optimisations

    Try to add in application.screenupdating = false at the start and application.screenupdating = true at the bottom.

  3. #3
    Registered User
    Join Date
    11-12-2012
    Location
    Paris
    MS-Off Ver
    Excel 2010
    Posts
    17

    Re: Copy & Insert optimisations

    I already have application.screenupdating and application.events optimisations, but thanks .
    I just 'd like to optimize the portion of code I put above.

  4. #4
    Forum Contributor
    Join Date
    01-03-2013
    Location
    Aberdeen, Scotland
    MS-Off Ver
    Excel 2007
    Posts
    163

    Re: Copy & Insert optimisations

    Try this:
    Please Login or Register  to view this content.
    Although I'm not sure, if this is any faster

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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