+ Reply to Thread
Results 1 to 9 of 9

Move entire row from one sheet to another based on cell value & delete the original row

Hybrid View

  1. #1
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,168

    Re: Move entire row from one sheet to another based on cell value & delete the original ro

    Try this code
    Private Sub Worksheet_Change(ByVal Target As Range)
    If Not Intersect(Target, Columns("A:A")) Is Nothing Then
        If Range("A" & Target.Row).Value = "Closed" Then
            Target.EntireRow.Copy Worksheets("Completed").Range("A" & Rows.Count).End(xlUp).Offset(1, 0)
            Target.EntireRow.Delete
        End If
    End If
    End Sub
    Right click on the Dashboard sheet and select View Code. Copy this code over. Each time you type "Closed" in column A, it will move the row.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  2. #2
    Registered User
    Join Date
    09-05-2013
    Location
    North Carolina, USA
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Move entire row from one sheet to another based on cell value & delete the original ro

    Rows clears as before, but are not deleting and shifting up.
    Thanks

+ 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] Move entire row from one sheet to another based on cell value.
    By romanm in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-29-2013, 06:20 PM
  2. Move entire row to another sheet based on cell value
    By Hoodalolly in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-23-2013, 05:18 PM
  3. Move entire row to a new sheet based on cell value vba help
    By almasdour in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-15-2013, 01:38 PM
  4. [SOLVED] Move entire row to another worksheet based on cell value
    By mmctague in forum Excel General
    Replies: 11
    Last Post: 06-26-2012, 12:43 PM
  5. move files to another folder delete original
    By D_Rennie in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-09-2009, 02:50 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