Results 1 to 8 of 8

Slow VBA Code for simple Loop and add pasted values Any Way to Speed Up

Threaded View

  1. #1
    Forum Contributor
    Join Date
    12-10-2008
    Location
    Hong Kong
    MS-Off Ver
    Office 365 PC Version
    Posts
    214

    Slow VBA Code for simple Loop and add pasted values Any Way to Speed Up

    Range("FP_Clear_Destination").Clear
         
        For N = 1 To Range("Max_Record_Number")
        Range("Current_Record_Number") = N
        
        Calculate
    
        Range("FP_Source_1").Copy
        Range([FP_Destination_1]).PasteSpecial xlPasteFormats
        Range([FP_Destination_1]).PasteSpecial xlPasteValues, xlPasteSpecialOperationAdd
      
        Application.CutCopyMode = False
    
    Next N
    
    End Sub
    Last edited by Fotis1991; 10-07-2013 at 08:08 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How to speed up loop code
    By notreallyIT in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-13-2013, 06:07 PM
  2. Speed Up VBA Loop Code
    By rlsublime in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 12-30-2012, 07:20 PM
  3. [SOLVED] Speed up slow macro loop
    By jomili in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 05-15-2012, 11:41 AM
  4. [SOLVED] Slow VBA Loop Code
    By krcaldwell31 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-30-2012, 09:14 AM
  5. loop vs. simple function, huge difference in speed, why?
    By losmi8 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-22-2010, 04:33 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