+ Reply to Thread
Results 1 to 9 of 9

CopyRange to a Column one below another

  1. #1
    Registered User
    Join Date
    07-08-2010
    Location
    atlanta
    MS-Off Ver
    Excel 2003
    Posts
    26

    CopyRange to a Column one below another

    CopyDynamicRange.png
    Trying to copy range F1 to last active row (in this example it is F1:F3 but this range always changes);

    Copy the range to Column E but start from E6 (based on where the text "ACTUAL" endsCopyDynamicRange.png)

    So in this case I need range : F1:F3 copied to E6:EE8, then copied again to E9:E11 then copy again to E12:E14),

    Basically copy the ranges one below the other until last active cell of column D
    Attached Images Attached Images

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,653

    Re: CopyRange to a Column one below another

    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Registered User
    Join Date
    07-08-2010
    Location
    atlanta
    MS-Off Ver
    Excel 2003
    Posts
    26

    Re: CopyRange to a Column one below another

    Hallelujah !!!

    I tested it and it works perfectly. Thank you so much.
    All I need is to combine this code with my larger code.


    Happy Holidays

  4. #4
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,653

    Re: CopyRange to a Column one below another

    You're welcome. Thanks for the feedback.

  5. #5
    Registered User
    Join Date
    07-08-2010
    Location
    atlanta
    MS-Off Ver
    Excel 2003
    Posts
    26

    Re: CopyRange to a Column one below another

    I think I got stuck;
    Suppose the same range (F1:F3) is not on the same active sheet let's say if the range is on sheet2


    What do I need to do to modify the code?

  6. #6
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,653

    Re: CopyRange to a Column one below another

    Quote Originally Posted by bgonen View Post
    I think I got stuck;
    Suppose the same range (F1:F3) is not on the same active sheet let's say if the range is on sheet2


    What do I need to do to modify the code?
    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    07-08-2010
    Location
    atlanta
    MS-Off Ver
    Excel 2003
    Posts
    26

    Re: CopyRange to a Column one below another

    You are a life savior, thanks a lot.

    One last question, suppose I want to pick slightly different range like F6 thru J all the way down to last active row of J

    What exactly I need to change

  8. #8
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,653

    Re: CopyRange to a Column one below another

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.

  9. #9
    Registered User
    Join Date
    07-08-2010
    Location
    atlanta
    MS-Off Ver
    Excel 2003
    Posts
    26

    Re: CopyRange to a Column one below another

    Slick, it works like a charm.

    Thanks again for the quick help.

+ 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: 7
    Last Post: 08-09-2015, 05:07 PM
  2. Compare multiple columns (column A,column B,Column C) and return value (Column D)
    By john008 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-21-2015, 08:24 AM
  3. [SOLVED] Code to set a discontinuous range of colums as copyRange using VBA
    By newbi004 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-28-2014, 11:38 AM
  4. [SOLVED] Delete Cell Numbers of Column B From Column A (Column B Small and Column A too big)
    By it_electronics2000 in forum Excel General
    Replies: 4
    Last Post: 04-07-2012, 09:14 AM
  5. [SOLVED] Delete Cell Numbers of Column B From Column A (Column B Small and Column A too big)
    By it_electronics2000 in forum Excel General
    Replies: 5
    Last Post: 04-06-2012, 12:02 PM
  6. [SOLVED] Delete Cell Numbers of Column B From Column A (Column B Small and Column A too big)
    By it_electronics2000 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 04-06-2012, 11:18 AM
  7. [SOLVED] Delete Cell Numbers of Column B From Column A (Column B Small and Column A too big)
    By it_electronics2000 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-06-2012, 11:13 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