+ Reply to Thread
Results 1 to 3 of 3

copy every other row

  1. #1
    Forum Contributor
    Join Date
    08-14-2013
    Location
    LA Baby!!
    MS-Off Ver
    Excel 2007
    Posts
    1,598

    copy every other row

    Hello. I'm trying to learn VBA. I want to copy every other row for 8 cells down starting where in the active cell. I don't want the answer to this but I would like some tips/guidance as to how to solve this myself. I think that's the key to learning VBA because I've studied quite a bit and I still can't write it.

  2. #2
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: copy every other row

    It sounds like you are going to want to incorporate the use of a loop. A loop allows you to cycle through a certain command or code for a duration of time/quantity. There are a couple of types of loops but for your instance it sounds like you will probably want to use a For/Next loop. The loop I am thinking of has this context

    Please Login or Register  to view this content.
    Where "i" is the variable, start is your starting number or row in your case, finish is the end row, and counter is the frequency which you go through start to finish (i.e every 1, every other 1, every 5, etc)

    Start there and report back when you get stuck

  3. #3
    Forum Contributor
    Join Date
    08-14-2013
    Location
    LA Baby!!
    MS-Off Ver
    Excel 2007
    Posts
    1,598

    Re: copy every other row

    I thought I would practice by using the vba recorder and this is what I found. It doesn't help me too much haha. AND sorry I meant want to copy every other column.

    Please Login or Register  to view this content.

+ 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] Change Copy to Copy & Mirror Image the Copy
    By mills49 in forum Excel General
    Replies: 5
    Last Post: 08-21-2014, 05:25 AM
  2. Alter existing formula to copy specific cells in row instead of copy entire column
    By painterartist in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 05-02-2014, 12:42 PM
  3. Save copy as, open copy, alter copy, save copy and close copy
    By tradinup2 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-03-2013, 04:42 PM
  4. Copy one cell to an other but colors do not copy. While not using clipboard to copy.
    By chuckchuckit in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-19-2010, 03:08 AM
  5. EXCEL FILE a copy/a copy/a copy ....filename
    By ve in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 09-29-2005, 05:05 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