+ Reply to Thread
Results 1 to 4 of 4

Code to copy every nth cell in column c and paste in every nth row range

  1. #1
    Registered User
    Join Date
    07-28-2014
    Location
    Houston, TX
    MS-Off Ver
    2016
    Posts
    8

    Code to copy every nth cell in column c and paste in every nth row range

    Hi,

    I need help in creating a code that will copy every 39th cell starting with C3 in column C and paste to D:AG for every 39th row until there are no more values to copy in column C. For example If I have value 752111 in C3 I want it to be copied into D8:AG8. I need for this to happen for the next value in C41 and have that pasted into D46:AG46 and so forth until there are no more values to copy in column C.

    I hope this makes sense but if you need me to elaborate, please let me know thank you!

  2. #2
    Valued Forum Contributor spitfireblue's Avatar
    Join Date
    01-29-2015
    Location
    Adelaide, Australia
    MS-Off Ver
    2007,2010,2016
    Posts
    611

    Re: Code to copy every nth cell in column c and paste in every nth row range

    Hi Ellie,

    I think this is what you are after...

    Please Login or Register  to view this content.
    Regards,
    Stephen

    If you feel someone has helped you please thank them and click on the star on their post to add reputation.
    Please ensure that you use code tags where relevant, and mark solved threads as solved.
    Most of all please be respectful and understanding of others.

  3. #3
    Registered User
    Join Date
    07-28-2014
    Location
    Houston, TX
    MS-Off Ver
    2016
    Posts
    8

    Re: Code to copy every nth cell in column c and paste in every nth row range

    Thanks Stephen! This works perfectly.

  4. #4
    Valued Forum Contributor spitfireblue's Avatar
    Join Date
    01-29-2015
    Location
    Adelaide, Australia
    MS-Off Ver
    2007,2010,2016
    Posts
    611

    Re: Code to copy every nth cell in column c and paste in every nth row range

    No problems, anytime

+ 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] VBA code to copy/paste rows conditionally based on cell value in column
    By thedefense in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-11-2017, 03:20 PM
  2. Excel VBA code to copy a Range and paste it within a cell
    By rshnkmr39 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-17-2014, 02:40 AM
  3. VBA code to copy cell formats and paste using offset for Rows/Range
    By spenlinhauer in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-12-2014, 07:45 PM
  4. VBA Code to copy cell range and paste to certain sheet
    By goguneon in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 09-03-2013, 08:35 AM
  5. VBA code to copy and paste range based on separate cell value
    By Mhofu in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-01-2012, 03:03 PM
  6. [SOLVED] Paste Special into next blank cell from Range of Column e.g. B2:CP2 - Macro Code
    By _lovemeet_ in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 07-14-2012, 01:33 PM
  7. Vba code to copy and paste second visible cell to other worksheet range then the next
    By Justin25150 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-09-2012, 09:03 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