+ Reply to Thread
Results 1 to 3 of 3

Copy variable range from sheet to the last row with a specific blank column in new sheet

  1. #1
    Registered User
    Join Date
    03-29-2010
    Location
    London, England
    MS-Off Ver
    Excel 2013
    Posts
    21

    Question Copy variable range from sheet to the last row with a specific blank column in new sheet

    Hi all,

    I want to copy the range of data on the "New" worksheet from A2, over to the last row which contains data in column K (note, formulas exist in column A, so it can't look for a completely empty row but simply the last row that contains data in column K).. then switch to the "Complete" worksheet, find the next row which contains a blank in column B, and then Paste/Special Values starting in that same row.

    So - in the attached example, that would be copying cells A2 to K14 in "New", and paste them into the "Complete" worksheet starting at location B2.

    And then, if the macro was run twice, it would copy the same range in "New", and then paste into "Complete" starting at location B15.

    I don't think I've explained it very clearly but am really hoping someone can help as I've been trying to get this working for too long .. Thank you in advance!

    excel-vba-copy.xlsm

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

    Re: Copy variable range from sheet to the last row with a specific blank column in new she

    Try this...

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    03-29-2010
    Location
    London, England
    MS-Off Ver
    Excel 2013
    Posts
    21

    Re: Copy variable range from sheet to the last row with a specific blank column in new she

    Sigh! So simple.. and flawless! Thank you AlphaFrog.

+ 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