+ Reply to Thread
Results 1 to 6 of 6

Copy From one Sheet to the Next empty cell on the next

  1. #1
    Registered User
    Join Date
    10-18-2014
    Location
    Ontario, Canada
    MS-Off Ver
    2013
    Posts
    30

    Copy From one Sheet to the Next empty cell on the next

    Hello and thank you in advance for any help you can offer.

    I have been trying unsuccessfully to find and modify a macro that will copy a dynamic range of data from column A from cell A1 on sheet1 to sheet 2 in the next cell that is empty in column B.

    I will be using this macro several times with different amounts of data some times it may be 100 cells and some times it may be a 1000 and each time it runs I will need it to paste in the next empty cell in column B.

    This is what I have so far and it works to a point but it paste my data into cell B10021 and which is not what i need.

    Please Login or Register  to view this content.
    I hope this all makes sense.

    thanks for the help

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Copy From one Sheet to the Next empty cell on the next

    The PasteTo range for next empty cell is commonly expressed as:

    Please Login or Register  to view this content.
    This calculates the number of rows in the worksheet (1.04 Million), and then moves up until it hits an occupied cell, and then moves one cell down.
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

  3. #3
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,821

    Re: Copy From one Sheet to the Next empty cell on the next

    Try:
    Please Login or Register  to view this content.
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

  4. #4
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Copy From one Sheet to the Next empty cell on the next

    Try this to set nextrow:

    Please Login or Register  to view this content.
    Please help by:

    Marking threads as closed once your issue is resolved. How? The Thread Tools at the top
    Any reputation (*) points appreciated. Not just by me, but by all those helping, so if you found someone's input useful, please take a second to click the * at the bottom left to let them know

    There are 10 kinds of people in this world... those who understand binary, and those who don't.

  5. #5
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Copy From one Sheet to the Next empty cell on the next

    Maybe:

    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    10-18-2014
    Location
    Ontario, Canada
    MS-Off Ver
    2013
    Posts
    30

    Re: Copy From one Sheet to the Next empty cell on the next

    thank you for your help it works perfectally

+ 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] Macro to copy cell value of Sheet1 to next empty cell of colum A in Sheet 2
    By JamesFinch in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-15-2014, 02:54 PM
  2. how do I copy data (not fixed) from one sheet to the first empty cell of col A of another
    By stephenckwok in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-30-2012, 01:30 PM
  3. [SOLVED] row copy to other sheet in first empty row it encounters based on cell value
    By thealian in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-08-2012, 09:04 AM
  4. Copy Multiple Cells to Next empty Cell on New Sheet
    By pk2356 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-30-2010, 10:47 AM
  5. copy cell value from one sheet to another if empty
    By perko121 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-24-2010, 10:26 AM

Tags for this Thread

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