+ Reply to Thread
Results 1 to 3 of 3

paste into next empty cell in a range

  1. #1
    Registered User
    Join Date
    07-27-2012
    Location
    Sydney Aust
    MS-Off Ver
    Excel 2010
    Posts
    92

    paste into next empty cell in a range

    I would like data to be pasted into the next empty cell within a range. A1:C10

    I know how to find the last empty cell in a row or column, but how do i find it within a range.

    e.g.

    Range = A1:C10

    Start transfer at A1 then down to A10, then b1>B10, then C1>c10

    Is it easier if I named the range something first?

    thanks in advance.

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

    Re: paste into next empty cell in a range

    This uses the .Find method. The .Find method needs one cell in the search range to have data for it to work. That's why the test if cell A1 has data.


    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
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    6,519

    Cool Hi ! See Demo procedure ! No problem with no data

    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. how to copy a range of cells, paste them and then find next empty cell
    By comp23 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-01-2013, 03:34 PM
  2. [SOLVED] Copy and Paste Cells to Next empty cell in range
    By oddinho2 in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 09-20-2013, 12:51 PM
  3. Copy range from one workbook, paste to next empty cell in another workbook
    By glock9mm in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-23-2013, 12:16 AM
  4. [SOLVED] Paste a value in the next empty cell for a defined range
    By aadeshgandhi in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-13-2013, 08:53 PM
  5. Find next empty cell in range and paste
    By Friday in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 11-16-2011, 12:51 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