+ Reply to Thread
Results 1 to 6 of 6

Copy Range of Cells X Number of Times

  1. #1
    Forum Contributor
    Join Date
    01-08-2013
    Location
    Jacksonville, Fl
    MS-Off Ver
    Excel 2016
    Posts
    355

    Copy Range of Cells X Number of Times

    Hello,

    I was hoping someone could help me with some vba that will copy a selected range e.g. (A2:AC11) down x number of times. Maybe prompt the user with an inputbox how many times they want the range copied.

    Thank you,

    Justin

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,482

    Re: Copy Range of Cells X Number of Times

    Test this out.

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    01-08-2013
    Location
    Jacksonville, Fl
    MS-Off Ver
    Excel 2016
    Posts
    355

    Re: Copy Range of Cells X Number of Times

    Thank you Dave!!!

  4. #4
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Copy Range of Cells X Number of Times

    Same thing without loops

    Please Login or Register  to view this content.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  5. #5
    Forum Contributor
    Join Date
    01-08-2013
    Location
    Jacksonville, Fl
    MS-Off Ver
    Excel 2016
    Posts
    355

    Re: Copy Range of Cells X Number of Times

    Very Nice! Thank you as well!

  6. #6
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,482

    Re: Copy Range of Cells X Number of Times

    Run both codes, see if you get the same results

+ 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. Replies: 4
    Last Post: 07-05-2017, 06:32 AM
  2. [SOLVED] Copy rows/range and paste n number of times based on last used cell in Column A
    By skonduru in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-29-2016, 02:30 PM
  3. [SOLVED] Copy cells X number of times [ Without Changing the order ]
    By dhilipan in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-22-2015, 08:30 AM
  4. Copy selection of cells X number of times
    By sunsthlm in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-13-2015, 06:38 AM
  5. Replies: 3
    Last Post: 07-28-2014, 06:08 PM
  6. [SOLVED] Copy set number of cells a set number of times within same worksheet
    By hal9000 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-09-2013, 11:51 AM
  7. Replies: 8
    Last Post: 07-14-2013, 07:29 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