+ Reply to Thread
Results 1 to 6 of 6

Copy/Paste Multiple times

  1. #1
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    4,083

    Copy/Paste Multiple times

    I made a one time macro to copy a selected range and paste it multiple times under itself (see code). I'd like to make it more flexible for use in later situations. Right now the Last row looks only in Column A, and the paste begins in A. I'd like the last row to be the left column of my selection, and the paste to also be in that column. I'd appreciate any help in modifying my code.

    Thanks.
    Please Login or Register  to view this content.

  2. #2
    Registered User
    Join Date
    11-15-2012
    Location
    Göteborg, Sweden
    MS-Off Ver
    Excel 2007
    Posts
    25

    Re: Copy/Paste Multiple times

    Hello Jomili,

    I am not exactly sure what you are asking for, but maybe you can try this code

    Please Login or Register  to view this content.

  3. #3
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    4,083

    Re: Copy/Paste Multiple times

    Olle,
    What I'm looking for is code to copy my selected range, which may span multiple columns and rows, and paste it below the original data X-Number of times. For instance, if my selected range happens to be C5:M17 today, the first paste should be in C19:M31, and then many more times underneath. The orignal data may or may not be numeric, may or may not have formulas, and may or may not start in column A. My original code works, but only if the selected range begins in column A.

  4. #4
    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 Multiple times

    Maybe:

    Please Login or Register  to view this content.

  5. #5
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    4,083

    Re: Copy/Paste Multiple times

    John,

    Your code did the trick! Thanks for pointing me in the right direction!

  6. #6
    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 Multiple times

    You're welcome. Glad to help out and thanks for the feedback.

+ 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 Multiple times and loop
    By Dnass in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-05-2013, 08:44 PM
  2. Replies: 6
    Last Post: 12-15-2012, 05:08 PM
  3. [SOLVED] Copy & Paste Multiple Times
    By jkelly228 in forum Excel General
    Replies: 4
    Last Post: 08-10-2012, 03:54 PM
  4. Copy and paste multiple times
    By Axcelerate in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-26-2010, 09:24 AM
  5. Copy and paste rows multiple times
    By Novis in forum Excel General
    Replies: 5
    Last Post: 03-21-2009, 11:43 AM

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