+ Reply to Thread
Results 1 to 3 of 3

Move a Row to another Worksheet based on cell value (and remove row later)

  1. #1
    Registered User
    Join Date
    10-17-2011
    Location
    Marlboro
    MS-Off Ver
    Excel 2003
    Posts
    6

    Move a Row to another Worksheet based on cell value (and remove row later)

    So I know this is a common topic but I'm not advanced enough how to tweak this scenario for my needs and I'd like to learn how (so I can do it on the sheet attached and in the future!).

    In the attached spreadsheet, you will see four Worksheets (Master Task List, 1, 2, & 3). Basically what I want to do is, if I enter either the number 1, 2, or 3 in column F (under "Transferred To") in the Master Task List, I want that entire row to be copied and pasted into the corresponding worksheet (e.g., if I type in "2" in the Column F of the Master Task List Worksheet, I want whatever is in Row A through E to be copied to Worksheet "2"). But I want to copy it to the next empty row (don't want it deleting data that is already there. Is it possible to automatically do this without having to press a button to run a macro every time (like putting the code in the worksheet itself?).

    Also, once that is accomplished, I would also like for it to remove from the corresponding worksheet (1,2, or 3) if I eventually remove it from the Master Task List. Is that possible??

    Thanks!

    Master List Test.xlsx

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

    Re: Move a Row to another Worksheet based on cell value (and remove row later)

    When should the macro be triggered? When data is entered into a particular cell?
    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]

  3. #3
    Registered User
    Join Date
    10-17-2011
    Location
    Marlboro
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Move a Row to another Worksheet based on cell value (and remove row later)

    Yes, if possible. Right when the number 1,2, or 3 (or whatever other numbers i eventually add) is entered into the cell. If that's not possible, then a button triggering it would be fine.

    Thanks!!

    ---------- Post added at 01:51 PM ---------- Previous post was at 11:18 AM ----------

    bumppppppp

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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