+ Reply to Thread
Results 1 to 22 of 22

Copy Paste Formulas - Any Speed Tips?

Hybrid View

killerkoz17 Copy Paste Formulas - Any... 02-20-2014, 07:55 AM
JOHN H. DAVIS Re: Copy Paste Formulas - Any... 02-20-2014, 09:58 AM
killerkoz17 Re: Copy Paste Formulas - Any... 02-20-2014, 06:50 PM
Izandol Re: Copy Paste Formulas - Any... 02-20-2014, 07:15 PM
killerkoz17 Re: Copy Paste Formulas - Any... 02-20-2014, 09:13 PM
Izandol Re: Copy Paste Formulas - Any... 02-21-2014, 05:40 AM
killerkoz17 Re: Copy Paste Formulas - Any... 02-21-2014, 07:23 AM
JOHN H. DAVIS Re: Copy Paste Formulas - Any... 02-21-2014, 07:28 AM
Izandol Re: Copy Paste Formulas - Any... 02-21-2014, 07:57 AM
killerkoz17 Re: Copy Paste Formulas - Any... 02-21-2014, 09:08 AM
Izandol Re: Copy Paste Formulas - Any... 02-21-2014, 09:16 AM
killerkoz17 Re: Copy Paste Formulas - Any... 02-21-2014, 06:41 PM
Izandol Re: Copy Paste Formulas - Any... 02-21-2014, 07:37 PM
killerkoz17 Re: Copy Paste Formulas - Any... 02-22-2014, 04:32 AM
Izandol Re: Copy Paste Formulas - Any... 02-22-2014, 04:40 AM
killerkoz17 Re: Copy Paste Formulas - Any... 02-22-2014, 05:34 AM
Izandol Re: Copy Paste Formulas - Any... 02-22-2014, 07:18 AM
killerkoz17 Re: Copy Paste Formulas - Any... 02-22-2014, 05:45 PM
Izandol Re: Copy Paste Formulas - Any... 02-22-2014, 07:53 PM
killerkoz17 Re: Copy Paste Formulas - Any... 02-23-2014, 02:27 AM
Izandol Re: Copy Paste Formulas - Any... 02-23-2014, 05:27 AM
killerkoz17 Re: Copy Paste Formulas - Any... 02-23-2014, 07:40 AM
  1. #1
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Copy Paste Formulas - Any Speed Tips?

    Not sure if this is what you're after or whether it's much faster. Test on a copy first.

    Sub killerkoz17()
    Dim r As Integer
    Dim FormulaRange As Range
    Dim DestinationRange As Range
    Application.ScreenUpdating = False
    Set FormulaRange = Range("A4:YY4")
    For r = Range("J1") To Range("L1")
    Set DestinationRange = Range(Cells(r, 1), Cells(r, 674))
    DestinationRange.Value = FormulaRange.Value
    Next r
    Application.ScreenUpdating = True
    End Sub

  2. #2
    Registered User
    Join Date
    02-19-2013
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2013
    Posts
    33

    Re: Copy Paste Formulas - Any Speed Tips?

    Thanks for the response John. I'm actually trying to copy and paste formulas, rather than values, so this didn't work (just pasted the values in every row). It's a reasonably simple macro. I guess there are three things I'm trying to improve:

    1) avoid "selecting"
    2) store the formulas in the 'FormulaRange' as a single variable (if possible, to avoid copying them every loop)
    3) clean up each loop to avoid storing information and clogging up speed.

    All ideas appreciated. I'm using this macro a lot!

+ 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. [SOLVED] copy and paste formulas keeping formulas
    By Daza in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-05-2014, 01:59 AM
  2. Vba - find next empty column, insert column, copy paste values & copy paste formulas
    By DoodlesMama in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-20-2012, 12:43 PM
  3. Tips required to speed up / streamline working code generated by macro recorder.
    By Gti182 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-16-2010, 11:24 AM
  4. copy paste formulas using vba
    By soma104 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-20-2010, 07:35 PM
  5. speed - variables vs copy paste
    By carsto in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-03-2008, 03:34 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