+ Reply to Thread
Results 1 to 4 of 4

Create a macro that will move an entire row to a different worksheet based on cell change

  1. #1
    Registered User
    Join Date
    01-30-2020
    Location
    Mpls., MN
    MS-Off Ver
    Office 365 (Excel 2016)
    Posts
    4

    Question Create a macro that will move an entire row to a different worksheet based on cell change

    Hi, I've got a spreadsheet of my team's projects (Excel, Office365). One of the columns includes a drop-down list of the different statuses of a project. I'm focusing on "Completed". When someone changes the cell value to "Completed" in Column C, that will trigger the entire row to be moved to another sheet in the workbook called "Completed". I have no idea how to do the VBA for this. Can anyone help?

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Create a macro that will move an entire row to a different worksheet based on cell cha

    This can be done quite easily with a worksheet change event.

    Could you attach a sample workbook? It will make it much easier to provide you with tailor made VBA to do the job.

    BSB

  3. #3
    Registered User
    Join Date
    01-30-2020
    Location
    Mpls., MN
    MS-Off Ver
    Office 365 (Excel 2016)
    Posts
    4

    Re: Create a macro that will move an entire row to a different worksheet based on cell cha

    I'm sorry, but it's not allowing me to attach a workbook. Can you just paste the code below? Thanks!

  4. #4
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Create a macro that will move an entire row to a different worksheet based on cell cha

    Paste the below into the worksheet module. It will fire when a cell in column C that is not row 1 is changed to 'Completed' and copy columns A:Z of that row to a sheet called Completed then delete the row from the original sheet.
    Please Login or Register  to view this content.
    BSB

+ 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] Worksheet in sections and need to move ENTIRE section based on cell A contents
    By zookeepertx in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-27-2016, 05:47 PM
  2. [SOLVED] Move Entire Row To Different Worksheet Based On Exact Cell Value
    By st3v3y in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 06-03-2014, 10:14 AM
  3. [SOLVED] Move entire row to another worksheet based on cell value
    By bdf0827 in forum Excel Programming / VBA / Macros
    Replies: 24
    Last Post: 04-09-2014, 07:01 AM
  4. [SOLVED] Move entire row to another worksheet based on cell value
    By jesseg005 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-03-2013, 12:52 PM
  5. [SOLVED] Macro to Move Entire Row Based on Cell Contents
    By alpha608 in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 12-27-2012, 01:58 PM
  6. [SOLVED] move entire row to another worksheet based on cell value
    By Berndene in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-14-2012, 10:13 AM
  7. [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

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