+ Reply to Thread
Results 1 to 6 of 6

Need to copy data to next empty row in another tab

  1. #1
    Forum Contributor
    Join Date
    12-13-2012
    Location
    Shropshire, England
    MS-Off Ver
    Excel 2007 /10 /13
    Posts
    118

    Need to copy data to next empty row in another tab

    Hi

    I need a macro that will copy data from a set of cells in one tab to another tab, but it need to look for the next available column first

    e.g. copy cells (values only) C4:C10 from Sheet1 to the next free column on Sheet2 (starting at row 4)

    Can anyone please help with this?

    thanks guys!

    (or if there's a way to do it without a macro...)

  2. #2
    Forum Expert p24leclerc's Avatar
    Join Date
    07-05-2010
    Location
    Québec
    MS-Off Ver
    Excel 2021
    Posts
    2,081

    Re: Need to copy data to next empty row in another tab

    try this macro
    Please Login or Register  to view this content.
    Pierre Leclerc
    _______________________________________________________

    If you like the help you got,
    Click on the STAR "Add reputation" icon at the bottom.

  3. #3
    Forum Contributor
    Join Date
    12-13-2012
    Location
    Shropshire, England
    MS-Off Ver
    Excel 2007 /10 /13
    Posts
    118

    Re: Need to copy data to next empty row in another tab

    Hi

    this isn't quite working, it's copying the formula rather than just the values and for some reason it's not putting it into Sheet2, it seems to be putting it into another tab I have in the sheet I'm using.
    I tried renaming the tab and where it says sheet2 in the code and it's still putting it in the wrong (albeit a different) tab.

    Can you help please?

    thanks

  4. #4
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Need to copy data to next empty row in another tab

    Please Login or Register  to view this content.

  5. #5
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Need to copy data to next empty row in another tab

    If you want to copy down

    Please Login or Register  to view this content.

  6. #6
    Forum Contributor
    Join Date
    12-13-2012
    Location
    Shropshire, England
    MS-Off Ver
    Excel 2007 /10 /13
    Posts
    118

    Re: Need to copy data to next empty row in another tab

    thanks, that seems to work fine

+ 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