+ Reply to Thread
Results 1 to 6 of 6

Cut (Not Copy)and Paste row from one sheet to another based on a drop down value in a cell

  1. #1
    Registered User
    Join Date
    01-14-2013
    Location
    Rochester, New York, USA
    MS-Off Ver
    Excel 2007
    Posts
    3

    Red face Cut (Not Copy)and Paste row from one sheet to another based on a drop down value in a cell

    Hello. I am new to this Forum, but I am very impressed with the information that is in it. I do have a question that I could not easily find the answer to.

    I have a sheet that tracks purchases called "PC". I also have an sheet that archives completed purchases called "Archive - PC". In Column B, there is a drop-down status field. When Column B is changed to "Completed" I want excel to automatically move(not copy) the row from "PC" to "Archive - PC". I also have data validation set up for the 1st 30 rows of "PC" so when the row is moved I want the new row 30 to have the same data validation. Can someone assist me? Thank you.

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Cut (Not Copy)and Paste row from one sheet to another based on a drop down value in a

    I have not tested it, but try it by copying this code in to PC sheet

    Please Login or Register  to view this content.
    Last edited by AB33; 01-14-2013 at 05:42 PM.

  3. #3
    Registered User
    Join Date
    01-14-2013
    Location
    Rochester, New York, USA
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Cut (Not Copy)and Paste row from one sheet to another based on a drop down value in a

    Thank you AB33. Unfortunately, it looks like there is a type mismatch with the If Target.Column = "Completed". I think I need the value of the cell and not the number of the column. Any ideas?

  4. #4
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Cut (Not Copy)and Paste row from one sheet to another based on a drop down value in a

    Sorry! You are right!

    If Target.Value = "Completed" Then

  5. #5
    Registered User
    Join Date
    01-14-2013
    Location
    Rochester, New York, USA
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Cut (Not Copy)and Paste row from one sheet to another based on a drop down value in a

    YAYAYAYAYAY!!! It worked. Thank you very much.

  6. #6
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Cut (Not Copy)and Paste row from one sheet to another based on a drop down value in a

    I do not think deleting the entire row deletes the drop down lists as these are not part of cell, rather part of a cell validation.
    If you are happy, please close this thread. Go to the top-right-hand side of this page, select, "Solved" from the "Threads Tools" drop down menu.

+ 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