+ Reply to Thread
Results 1 to 2 of 2

Thread: Paste in new blank row

  1. #1
    Registered User
    Join Date
    05-06-2011
    Location
    Alberta Canada
    MS-Off Ver
    Excel 2003
    Posts
    4

    Paste in new blank row

    Hi,
    I have this code:

    Sub CopyComplete()


    Dim v
    j = 8

    For i = 1 To 65536
    If Sheets("UW_Rnls").Cells(i, 15) = "Complete" Then

    v = Sheets("UW_Rnls").Cells(i, 15).EntireRow

    Sheets("Proc_Rnls").Cells(j, 1).EntireRow = v

    Sheets("UW_Rnls").Cells(i, 15).EntireRow.Delete (xlShiftUp)

    j = j + 1
    End If
    Next i

    End Sub
    _______________

    However, every time you run the code when data is already on the "Proc_Rnls" sheet, is over-rights the existing data. Please help!

  2. #2
    Forum Guru TMShucks's Avatar
    Join Date
    07-15-2010
    Location
    Manchester, England
    MS-Off Ver
    MSO 2003 & 2007
    Posts
    6,228

    Re: Paste in new blank row

    Please put your code in CODE tags ... otherwise you are unlikely to get a response from the regular forum members.

    Ideally, post a sample workbook with the code in context.

    Regards

+ 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.2.0