Move row based on information from two columns

toomanydogs

New Member
Joined
Dec 21, 2024
Messages
2
Office Version
  1. 365
  2. 2024
Platform
  1. Windows
Hello,

I need help to create a code that when you hit the button it to checks to see if the status of a project in the sheet "Inbox" is marked completed (column K). If it is completed, then it needs to move to another sheet based on the location (column A) and delete the entire row. So if a project is completed in Location 1, then it needs to move to another excel sheet labeled Location 1. If a project is marked as completed for Location 2, then it needs to move to another excel sheet labeled Location 2. If the status bar is empty or in progress it needs to be left behind.

The projects start in row 3 of the sheet.

Thank you!
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
This is what I have so far. I don't have a delete code in there and I keep getting an error "Next without For"
 

Attachments

  • Code for Maintenance Sheet.png
    Code for Maintenance Sheet.png
    80.3 KB · Views: 8
Upvote 0

Forum statistics

Threads
1,225,730
Messages
6,186,701
Members
453,369
Latest member
positivemind

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top