+ Reply to Thread
Results 1 to 6 of 6

Loop for copying and pasting

  1. #1
    Registered User
    Join Date
    03-10-2016
    Location
    London
    MS-Off Ver
    2010
    Posts
    5

    Loop for copying and pasting

    I am working on a model and it requires me to copy and paste 10x7 tables into a worksheet to get my results and then copying and pasting these results into another excel sheet. How would I do this using a loop to speed things up?

  2. #2
    Valued Forum Contributor
    Join Date
    01-16-2012
    Location
    England
    MS-Off Ver
    MS 365
    Posts
    1,394

    Re: Loop for copying and pasting

    Johni.

    Assuming the "results" are not the tables themselves that you are copying and pasting, but some data calculated from them, put the formula that gave you the results straight into the other sheet?

    Ochimus

  3. #3
    Registered User
    Join Date
    03-10-2016
    Location
    London
    MS-Off Ver
    2010
    Posts
    5

    Re: Loop for copying and pasting

    Thanks for the response but the sheet where the calculations are done are very formula heavy and I need to ultimately do the process for thousands of tables. That's why I need to come up with a macro to do so

  4. #4
    Valued Forum Contributor
    Join Date
    01-16-2012
    Location
    England
    MS-Off Ver
    MS 365
    Posts
    1,394

    Re: Loop for copying and pasting

    johniu,

    As I understand you, the "intermediate"" sheet starts as a copy of the data you have at the beginning.
    The sheet then "does something" with that data, and generates results, which go onto the "final" sheet.
    I'm saying get a macro on the "final" sheet to start with the data you copy onto the "intermediate" sheet at the moment, and do whatever it is that creates the "results" you get at the moment in the middle sheet.

    If that is not the process, can you attach a sample file with a few rows showing the data you start with, and the formulae that creates the results you copy across to the final sheet.

    Based on that, we can write the Macro to do it.

    Ochimus

  5. #5
    Registered User
    Join Date
    03-10-2016
    Location
    London
    MS-Off Ver
    2010
    Posts
    5

    Re: Loop for copying and pasting

    Hi,

    I am unable to attach the sheet. Could I email you it?
    I want the excel sheet to copy and paste the data from "sheet1" to "sheet2" for each week, then "sheet2" will do the calculations and those values will be pasted into "sheet3" for each week. If you could help me with writing a macro for this that would be great

  6. #6
    Valued Forum Contributor
    Join Date
    01-16-2012
    Location
    England
    MS-Off Ver
    MS 365
    Posts
    1,394

    Re: Loop for copying and pasting

    johni.

    Have sent you a Private message with the contact details,

    Look forward to hearing from you, and hope I can help.

    Ochimus

+ 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] freezes on loop - copying and pasting to different page
    By bigred101 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-07-2015, 01:32 AM
  2. Copying & pasting a current region to another sheet w/o actually copying.....
    By Excel_vba in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-15-2014, 09:08 PM
  3. Replies: 1
    Last Post: 07-20-2012, 06:20 PM
  4. Loop for copying data, then pasting in a continuous row
    By Bhupinder Rayat in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-07-2006, 11:35 AM
  5. Copying and pasting ???
    By NorcalTruck in forum Excel General
    Replies: 3
    Last Post: 12-27-2005, 04:31 PM
  6. Need Help with copying and pasting with var.
    By Mikeice in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-29-2005, 08:05 AM
  7. [SOLVED] copying pasting
    By Coach Mike Wyatt in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-20-2005, 09:06 PM

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