+ Reply to Thread
Results 1 to 5 of 5

Copy Row Down One

Hybrid View

hfourxzeror Copy Row Down One 05-05-2011, 12:52 AM
JBeaucaire Re: Copy Row Down One 05-05-2011, 01:43 AM
hfourxzeror Re: Copy Row Down One 05-05-2011, 01:53 AM
Ricker090 Re: Copy Row Down One 05-05-2011, 04:52 AM
JBeaucaire Re: Copy Row Down One 05-05-2011, 11:47 AM
  1. #1
    Registered User
    Join Date
    06-03-2010
    Location
    Seattle
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Copy Row Down One

    Quote Originally Posted by JBeaucaire View Post
    Like so:
    Private Sub Worksheet_Change(ByVal Target As Range)
    Dim LR As Long
    LR = Cells(1, Rows.Count).End(xlToDown).Row
        
        If Not Intersect(Target, Range("A2:J2")) Is Nothing Then
            Application.EnableEvents = False
                Range("A2:J2").Copy Cells(LR + 1, 1)
            Application.EnableEvents = True
        End If
    End Sub
    Hi JBeaucaire,
    Thanks for the quick and helpful response. I'm getting an error with your code though.
    This seems to be causing the problem...

    LR = Cells(1, Rows.Count).End(xlToDown).Row

    I've attached my macro-enabled Excel spreadsheet for you to take a look at.
    Again, thank you so much for the help!
    Cheers.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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