Cut entire rows to another sheet

juannava

New Member
Joined
Jun 20, 2008
Messages
4
I would like help in this:confused:, I have a list of projects in several rows and at the column "K" is the status of the project, according to the status of the projects if the status is completed I want cut this entire rows and paste to another sheet calls Projects_Completed by using a macro

Thanks in advance =)
 
Thanks VoG,

Yes, I did that.

If Target.Count > 1 Then Exit Sub What is Target.Count?
If Target.Column = 11 And LCase(Target.Value) = "completed" Then Must be lower case?

Larry
 
Upvote 0

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
If Target.Count > 1 Then Exit Sub What is Target.Count?

Target.Count is the number of cells in the range that you changed. The code is designed to operate on a single cell only, so if the count is greater than 1 the code exits.


If Target.Column = 11 And LCase(Target.Value) = "completed" Then Must be lower case?

No. This is a case-insensitive comparison. It converts whatever you entered to lower case then makes the comparison.
 
Upvote 0
Thanks for your help,

I didn't change a cell. I just was typing completed trying to move a whole row.

Larry
 
Upvote 0
By typing completed you are changing a cell. Make sure that you are entering that in column K. This obviously worked for juannava.
 
Upvote 0
Glad to hear that it works but for future reference what did you do to make it work?
 
Upvote 0

Forum statistics

Threads
1,215,373
Messages
6,124,551
Members
449,170
Latest member
Gkiller

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