Results 1 to 4 of 4

Finding and selecting first empty row

Threaded View

  1. #1
    Registered User
    Join Date
    12-23-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    5

    Finding and selecting first empty row

    Hi guys,

    I'm pretty new to this, so this might be a ridiculously simple question, but I've been trying to write a macro that will take a few cells from one sheet, and paste into the first empty row in a master sheet in the same workbook. From other recommendations, this is what I have so far:

    Sub SyncNC()
    '
    ' SyncNC Macro
    '
    
    '
        ActiveCell.Offset(0, 4).Range("A1:E1").Select
        Selection.Copy
        Sheets("CAPA Index").Select
        Cells(Rows.Count, 1).End(xlUp).Offset(1, 2).Select
        ActiveSheet.Paste
    
    End Sub
    The problem is that, well, it doesn't work! I read that other people have used the Cells(Rows.Count, 1).End(xlUp). Offset(1).Select to get the first empty row, but it doesn't seem to be working for me. Can anyone point me in the direction of a solution? It'd be greatly appreciated
    Last edited by thecaitfish; 01-10-2014 at 06:17 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Empty a textbox when selecting it
    By pjardino in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-28-2008, 10:32 AM
  2. Selecting first empty row in column
    By cbh35711 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-29-2006, 11:02 AM
  3. Finding next empty empty cell in a range of columns
    By UncleBun in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-13-2006, 07:25 PM
  4. Selecting the first empty row
    By webba in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 11-04-2005, 09:49 AM
  5. Re: Selecting the first empty row
    By KC Cheung in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-13-2005, 09:05 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