+ Reply to Thread
Results 1 to 7 of 7

Copy Cell and Paste every Nth row

  1. #1
    Registered User
    Join Date
    11-02-2012
    Location
    Dallas, TX
    MS-Off Ver
    Excel 2010
    Posts
    28

    Copy Cell and Paste every Nth row

    So I want to copy this group of cells once, then have it paste every 17 rows until the last row (just on the active sheet I am on)

    I have my copy code:
    Please Login or Register  to view this content.
    But what will paste it on row 22 & 23.....then paste on row 40 & 41 -- every 17 rows -- I need it to paste the copying code until the last row of the active sheet.

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Copy Cell and Paste every Nth row

    Give this a try.
    Please Login or Register  to view this content.
    If posting code please use code tags, see here.

  3. #3
    Registered User
    Join Date
    11-02-2012
    Location
    Dallas, TX
    MS-Off Ver
    Excel 2010
    Posts
    28

    Re: Copy Cell and Paste every Nth row

    That did not work

    here is a picture of a spreadsheet to better understand.....I want to copy the highlighted text down (preferably with formatting) to the same spot (17 rows - those are highlighted as well) for as long as there is data in the rows.
    excel.png

  4. #4
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Copy Cell and Paste every Nth row

    'not work' in what way?

  5. #5
    Registered User
    Join Date
    11-02-2012
    Location
    Dallas, TX
    MS-Off Ver
    Excel 2010
    Posts
    28

    Re: Copy Cell and Paste every Nth row

    it made a copy somewhere along column C about 17 rows below....then I couldnt see the rest. It would just loop continuously until excel locked up and wouldnt respond.

    Please Login or Register  to view this content.

  6. #6
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Copy Cell and Paste every Nth row

    In the original post it wasn't 100% clear where you wanted to copy to, you mentioned the rows but not the column.

    Anyway, the code I posted copied to column A which can easily be changed.
    Please Login or Register  to view this content.
    The other thing is that if you want this down to the last row, ie the entire sheet. it will take time and Excel might lock up.

  7. #7
    Registered User
    Join Date
    11-06-2012
    Location
    ndemene
    MS-Off Ver
    Excel 2010
    Posts
    74

    Re: Copy Cell and Paste every Nth row

    What is the error message the code editor gave you? What happens when you click "Debug"?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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